Name | Description | |
---|---|---|
NPolygon Constructor | Overloaded. |
The following tables list the members exposed by NPolygon.
Name | Description | |
---|---|---|
NPolygon Constructor | Overloaded. |
Name | Description | |
---|---|---|
IsConvex | Determines whether this polygon is convex. A polygon is convex if the perp dot product of each subsequent pair of edge vectors has the same sign. | |
Perimeter | Gets the perimeter of the polygon. |
Name | Description | |
---|---|---|
AddToPath | Overridden. Appends the primitive to the specified graphics path | |
Contains | Overloaded. Determines whether the primitive interior contains the specified point | |
ContainsOnOutline | Overridden. Determines whether the outline of the polygon contains the specified point | |
DeepClone | Overridden. Creates an identical copy of this object. | |
GetContourPositionAndAngle | Tries to get the percent position and angle from the specified location factor. | |
GetLongestLine | Gets the longest horizontal inner line in the polygon. | |
GetNearestIntersection | Gets the nearest intersection point to dirPoint out of all intersections between this geometry and the centerPoint:dirPoint vector. All points are in shape local coordinates. | |
GetOutlineLength | Overridden. Gets the outline length. | |
IntersectsWith | Overloaded. Determines whether this polygon intersects with the specified line | |
IntersectWith | Overloaded. Intersects this polygon with the specified line segment | |
Simplify | Simplifies this polyline and returns the new simplified polyline | |
ToPolyline | Creates a polyline from this polygon. | |
TryGetLongestLine | Gets the longest horizontal inner line in the polygon that is at least at the specified distance from all sides. Returns false if no such line exists. |