BoundingRectangle Structure |
Namespace: AGI.Foundation.Coordinates
The BoundingRectangle type exposes the following members.
| Name | Description | |
|---|---|---|
| BoundingRectangle(Double) |
Initializes a new instance from the first four consecutive elements in the provided array.
| |
| BoundingRectangle(Double, Int32) |
Initializes a new instance from four consecutive elements in the provided array.
| |
| BoundingRectangle(Double, Double, Double, Double) |
Initializes a new instance.
|
| Name | Description | |
|---|---|---|
| Bottom |
Gets the y-coordinate of the bottom edge of the rectangle.
| |
| Empty |
Gets a BoundingRectangle with all values set to zero.
| |
| Height |
Gets the height of the rectangle.
| |
| Item | ||
| Left |
Gets the x-coordinate of the left edge of the rectangle.
| |
| Length |
Gets the number of elements in this set of coordinates.
| |
| Right |
Gets the x-coordinate of the right edge of the rectangle.
| |
| Top |
Gets the y-coordinate of the top edge of the rectangle.
| |
| Width |
Gets the width of the rectangle.
|
| Name | Description | |
|---|---|---|
| Equals(BoundingRectangle) |
Indicates whether another instance of this type is exactly equal to this instance.
| |
| Equals(Object) |
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
| EqualsEpsilon |
Indicates whether each coordinate value of another instance of this type
is within the required tolerance of the corresponding coordinate value of this instance.
| |
| FromWidthHeight |
Initializes a new instance.
| |
| GetHashCode |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Equality |
Returns if the two instances are exactly equal.
| |
| Inequality |
Returns if the two instances are not exactly equal.
|