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