
Data Structures | |
| class | CInterface |
| class | Handle |
Public Member Functions | |
| PolygonF () | |
| Initializes a new empty instance of the PolygonF class. | |
| PolygonF (PointF[] points) | |
| Initializes a new instance of the PolygonF class with specified floating-point points. | |
| void | Dispose () |
| Releases the resources used by the PolygonF class. | |
| override string | ToString () |
| Converts the PolygonF to a string representation. | |
Properties | |
| bool | IsClosed [get] |
| Gets information about whether a polygon is closed. | |
| PointF[] | Points [get] |
| Gets the points from a polygon. | |
| static IEqualityComparer< PolygonF > | Comparer = new PolygonFEqualityComparer() [get] |
| Gets a default equality comparer for comparing PolygonF data values. | |
A polygon is a two-dimensional geometric shape that is made up of a finite number of straight line segments connected end-to-end to form an open or closed figure. A polygon is represented by the points where the line segments meet.
Definition at line 17 of file PolygonF.cs.
|
inline |
Initializes a new empty instance of the PolygonF class.
Definition at line 25 of file PolygonF.cs.
Initializes a new instance of the PolygonF class with specified floating-point points.
| points | The points of the polygon. |
Definition at line 37 of file PolygonF.cs.
|
inline |
Releases the resources used by the PolygonF class.
Definition at line 115 of file PolygonF.cs.
|
inline |
Converts the PolygonF to a string representation.
Definition at line 130 of file PolygonF.cs.
|
staticget |
Gets a default equality comparer for comparing PolygonF data values.
Definition at line 109 of file PolygonF.cs.
|
get |
Gets information about whether a polygon is closed.
A closed polygon contains the same point as first and last point. Returns True if closed, False if open.
Definition at line 59 of file PolygonF.cs.
|
get |
Gets the points from a polygon.
Definition at line 74 of file PolygonF.cs.