Rect |
public struct RectD
The RectD type exposes the following members.
| Name | Description | |
|---|---|---|
| RectD(Boolean) | Initializes a new invalid or empty instance of the RectD struct. | |
| RectD(RectD) | Initializes a new instance of the RectD struct from another rectangle. | |
| RectD(Double, Double, Double, Double) | Initializes a new instance of the RectD struct. |
| Name | Description | |
|---|---|---|
| Height | Gets or sets the height of the rectangle. | |
| Width | Gets or sets the width of the rectangle. |
| Name | Description | |
|---|---|---|
| AsPath | Converts the rectangle to a PathD representation. | |
| Contains(PointD) | Determines if a point is inside the rectangle. | |
| Contains(RectD) | Determines if another rectangle is completely contained within this rectangle. | |
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Intersects | Determines if another rectangle intersects with this rectangle. | |
| IsEmpty | Determines if the rectangle is empty (has no area). | |
| MidPoint | Calculates the midpoint of the rectangle. | |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
| Name | Description | |
|---|---|---|
| bottom | The Y coordinate of the bottom side of the rectangle. | |
| left | The X coordinate of the left side of the rectangle. | |
| right | The X coordinate of the right side of the rectangle. | |
| top | The Y coordinate of the top side of the rectangle. |