Class SadRogueRectangleExtensions
Extension methods for Rectangle that enable operations involving
Microsoft.Xna.Framework.Rectangle.
Inheritance
SadRogueRectangleExtensions
Assembly: SadConsole.Host.MonoGame.dll
Syntax
public static class SadRogueRectangleExtensions
Methods
Matches(Rectangle, Rectangle)
Compares a Rectangle to a Microsoft.Xna.Framework.Rectangle.
Declaration
public static bool Matches(this Rectangle self, Rectangle other)
Parameters
Type |
Name |
Description |
Rectangle |
self |
|
Rectangle |
other |
|
Returns
ToMonoRectangle(Rectangle)
Converts from Rectangle to Microsoft.Xna.Framework.Rectangle.
Declaration
public static Rectangle ToMonoRectangle(this Rectangle self)
Parameters
Returns
Type |
Description |
Rectangle |
|