Object
PolygonF
PolygonF | The default constructor for the PolygonF class. |
PolygonF | Constructs a PolygonF from a given RectF class instance. |
Clone | Returns a clone of the PoligonF. |
CornerCount | Returns count of points in the polygon. |
Add | Adds a point to the polygon. |
Add | Adds a point to the polygon. |
Area | Returns the size of the area of the polygon. |
Bounds | Returns the boundaries for the Polygon as a RectF rectangle. |
Contains | Returns true if the given x and y coordinates are within the polygon. |
Contains | Returns true if the given point is within the polygon. |
Draw | Draws the polygon into a Graphics context with the current color of the Graphics context. |
DrawPath | Draws the polygon as a path into a Graphics context with the current color of the Graphics context. |
Fill | Fills the polygon into a Graphics context with the current color of the Graphics context. |
HitTestCorners | Returns the number of the corner that was clicked or zero if no corner was clicked. |
Inset | Shrinks or expands a polygon by given distance. |
Intersects | Returns true if the polygon intersects with the other given polygon. |
Intersects | Returns true if the polygon intersects with a given line. |
Offset | Moves the polygon |
Offset | Moves the polygon |
PointX | Reads or writes a point's x coordinate in the Polygon. |
PointY | Reads or writes a point's y coordinate in the Polygon. |
Rotate | Rotates the polygon around its estimated center point. |
Rotate | Rotates the polygon in a coordinate system around one of the polygons points. |
Rotate | Rotates the polygon in a coordinate system around a defined center point. |
Scale | Scales the Polygon |
Scale | Scales the Polygon, pinning certain point. |
VecNorm | Returns a new polygon that has same structure but is positioned at (0.0 , 0.0) in the coordinate system. |