Rectangle Class |
Namespace: Deltabit.WinForms
The Rectangle type exposes the following members.
Name | Description | |
---|---|---|
BoundingRec |
Gets the rectangle that surrounds the boundry of the shape.
| |
LeftUpper |
The left upper point of the rectangle.
| |
ParentHotspot |
Gets or sets the parent hotspot for the rectangle.
| |
RightLower |
Right lower point of the rectangle.
|
Name | Description | |
---|---|---|
Clone |
Creates a new instance of the rectangle and copies the data to the new instance.
| |
CreatePolygon |
Creates four points of the polygon surrounding the rectangle.
| |
Draw |
This method draws the rectangular hotspot shape onto the HotImage.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Midpoint |
Computes the midpoint of a shape.
| |
Move |
Moves the shape to a new position.
| |
PointInShape |
Determines if a point falls within the rectangle.
| |
Rescale |
Rescales and repositions the rectangle according to the parameters.
| |
ShapeFromString |
Converts a string representation of a rectangle to the rectangle object and assigns it to this instance.
| |
ShapeToString |
Converts the rectangle to a string representation.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |