-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Rectangle
← Index ← Namespace Index
public struct Rectangle: IEquatable<Rectangle>Defines a rectangle.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Specifies the height of the rectangle.
Specifies the width of the rectangle.
Specifies the x-coordinate of the rectangle.
Specifies the y-coordinate of the rectangle.
Returns the y-coordinate of the bottom of the rectangle.
Gets the Point that specifies the center of the rectangle.
Returns the x-coordinate of the left side of the rectangle.
Gets or sets the upper-left value of the Rectangle.
Returns the x-coordinate of the right side of the rectangle.
Returns the y-coordinate of the top of the rectangle.
static Rectangle Intersect(Rectangle, Rectangle)
Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
static void Intersect(ref Rectangle, ref Rectangle, out Rectangle)
Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
static Rectangle Union(Rectangle, Rectangle)
Creates a new Rectangle that exactly contains two other rectangles.
static void Union(ref Rectangle, ref Rectangle, out Rectangle)
Creates a new Rectangle that exactly contains two other rectangles.
Determines whether this Rectangle contains a specified point represented by its x- and y-coordinates.
Determines whether this Rectangle contains a specified Point.
void Contains(ref Point, out bool)
Determines whether this Rectangle contains a specified Point.
Determines whether this Rectangle entirely contains a specified Rectangle.
void Contains(ref Rectangle, out bool)
Determines whether this Rectangle entirely contains a specified Rectangle.
Determines whether the specified Object is equal to the Rectangle.
Returns a value that indicates whether the current instance is equal to a specified object.
Gets the hash code for this object.
Pushes the edges of the Rectangle out by the horizontal and vertical values specified.
Determines whether a specified Rectangle intersects with this Rectangle.
void Intersects(ref Rectangle, out bool)
Determines whether a specified Rectangle intersects with this Rectangle.
Changes the position of the Rectangle.
Changes the position of the Rectangle.
Retrieves a string representation of the current object.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!