Polygon Class |
Namespace: Deltabit.WinForms
The Polygon type exposes the following members.
Name | Description | |
---|---|---|
BoundingRec |
Gets the rectangle that surrounds the boundry of the polygon.
| |
ParentHotspot |
Gets or sets the Parent Hotspot that owns the polygon.
| |
Points |
Gets or sets the points used to create the polygon.
|
Name | Description | |
---|---|---|
Clone |
Creates a new instance of the polygon and copies the data to the new instance.
| |
CreatePolygon |
Converts the shape to a polygon representation of the shape.
| |
Draw |
This method draws the hotspot shape onto the HotImage.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetBoundingRec |
Gets the rectangle that surrounds the boundry of the polygon.
| |
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 the polygon.
| |
Move |
Moves the polygon to a new position.
| |
PointInShape |
Determines if a point falls within the given polygon.
| |
Rescale |
Rescales and repositions the polygon according to the parameters.
| |
ShapeFromString |
Converts a string representation of a polygon to the polygon object and assigns it to this instance.
| |
ShapeToString |
Converts the current polygon to a string representation of the shape.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |