An immutable 2D rect.
public struct MathRect : IEquatable<MathRect>
name | description |
---|---|
MathRect(…) | Initializes a new instance of the MathRect struct. |
static Parse(…) | Creates a new rectangle from the specified string representation. |
Bottom { get; } | Gets the bottom value. |
Height { get; } | Gets the height. |
Left { get; } | Gets the left value. |
Right { get; } | Gets the right value. |
Top { get; } | Gets the top value. |
Width { get; } | Gets the width. |
X { get; } | Gets the X (left) value. |
Y { get; } | Gets the Y (top) value. |
Equals(…) | Indicates whether the current object is equal to another object of the same type. |
override Equals(…) | Indicates whether this instance and a specified object are equal. |
override GetHashCode() | Returns the hash code for this instance. |
override ToString() | Provides a string representation of this rectangle. |
ToString(…) | Provides a string representation of this rectangle. |
operator == | Test whether two specified MathRect structures are equivalent. |
operator != | Test whether two specified color structures are different. |