Class RectangleExtensions
Contains set of operators that match ones defined by other packages for interoperability, so syntax may be uniform. Functionality is similar to the corresponding actual operators for Color.
Inherited Members
Namespace: SadRogue.Primitives
Assembly: TheSadRogue.Primitives.dll
Syntax
public static class RectangleExtensions
Methods
View SourceMatches(Rectangle, Rectangle)
Compares a two rectangles for equality.
Declaration
public static bool Matches(this Rectangle self, Rectangle other)
Parameters
| Type | Name | Description |
|---|---|---|
| Rectangle | self | |
| Rectangle | other |
Returns
| Type | Description |
|---|---|
| bool |