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.
Namespace: SadRogue.Primitives
Assembly: TheSadRogue.Primitives.dll
Syntax
public static class RectangleExtensions : Object
Methods
Matches(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 |
---|---|
Boolean |