MonoRectangleExtensions Class
Definition
Section titled “Definition”Extension methods for Microsoft.Xna.Framework.Rectangle that enable operations involving SadRogue.Primitives.Rectangle.
public static class MonoRectangleExtensionsInheritance object
Methods
Section titled “Methods”ToRectangle(Rectangle)
Section titled “ToRectangle(Rectangle)”Converts from Microsoft.Xna.Framework.Rectangle to SadRogue.Primitives.Rectangle.
public static Rectangle ToRectangle(this Rectangle self)Parameters
Section titled “Parameters”self Microsoft.Xna.Framework.Rectangle
Returns
Section titled “Returns”SadRogue.Primitives.Rectangle
Matches(Rectangle, Rectangle)
Section titled “Matches(Rectangle, Rectangle)”Compares a Microsoft.Xna.Framework.Rectangle to a SadRogue.Primitives.Rectangle.
public static bool Matches(this Rectangle self, Rectangle other)Parameters
Section titled “Parameters”self Microsoft.Xna.Framework.Rectangle
other SadRogue.Primitives.Rectangle