Rect Structure |
Namespace: Cimbalino.Toolkit.Foundation
public struct Rect
The Rect type exposes the following members.
Name | Description | |
---|---|---|
Rect(Point, Point) |
Initializes a new instance of the Rect structure that is exactly large enough to contain the two specified points.
| |
Rect(Point, Size) |
Initializes a new instance of the Rect structure that has the specified top-left corner location and the specified width and height.
| |
Rect(Double, Double, Double, Double) |
Initializes a new instance of the Rect structure that has the specified x-coordinate, y-coordinate, width, and height.
|
Name | Description | |
---|---|---|
Bottom |
Gets the y-axis value of the bottom of the rectangle.
| |
BottomLeft |
Gets the position of the bottom-left corner of the rectangle.
| |
BottomRight |
Gets the position of the bottom-right corner of the rectangle.
| |
Empty |
Gets a special value that represents a rectangle with no position or area.
| |
Height |
Gets or sets the height of the rectangle.
| |
IsEmpty |
Gets a value indicating whether the rectangle is the Empty rectangle.
| |
Left |
Gets the x-axis value of the left side of the rectangle.
| |
Right |
Gets the x-axis value of the right side of the rectangle.
| |
Size |
Gets the width and height of the rectangle.
| |
Top |
Gets the y-axis position of the top of the rectangle.
| |
TopLeft |
Gets the position of the top-left corner of the rectangle.
| |
TopRight |
Gets the position of the top-right corner of the rectangle.
| |
Width |
Gets or sets the width of the rectangle.
| |
X |
Gets or sets the x-axis value of the left side of the rectangle.
| |
Y |
Gets or sets the y-axis value of the top side of the rectangle.
|
Name | Description | |
---|---|---|
Contains(Point) |
Indicates whether the rectangle contains the specified point.
| |
Contains(Double, Double) |
Indicates whether the rectangle contains the specified x-coordinate and y-coordinate.
| |
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.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
AddEventHandler |
Adds an event handler to an event source.
(Defined by ObjectExtensions.) | |
GetPropertyValue(String) | Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.) | |
GetPropertyValueTObject(String) | Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.) | |
InvokeMethod(String, Object) | Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.) | |
InvokeMethodTObject(String, Object) | Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.) | |
RemoveEventHandler |
Removes an event handler from an event source.
(Defined by ObjectExtensions.) | |
SetPropertyValueTObject |
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.) |