PolygonEntity Methods | ![]() |
The PolygonEntity type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddVertex |
Add a new vertex at the end of the polygon.
|
![]() | BeginEditing |
Returns the PolygonEditState when the layer begins editing this shape.
(Overrides ShapeEntityBeginEditing.) |
![]() | DeleteVertex |
Deletes the last modified (added, inserted or moved) point.
|
![]() | DeleteVertex(Int32) |
Deletes the vertex with the specified index.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetArea |
Gets the total area of the polygon using a Pythagorean approximation.
(Overrides ShapeEntityGetArea.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPoints |
Gets the polygon's vertices.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HitTest |
Checks whether a location is within this polygon.
(Overrides ShapeEntityHitTest(LatLon).) |
![]() | InsertVertex |
Inserts a vertex between two other vertices.
|
![]() | MoveVertex |
Moves an existing vertex to a new location.
|
![]() | Render |
Renders the underlying polygon.
(Overrides ShapeEntityRender(Graphics, RenderContext).) |
![]() | RenderEdge |
Renders a specific edge. The edge is the one that starts at the vertex with the
specified index and ends at the next vertex.
|
![]() | RenderVertex |
Renders a specific vertex.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ValidateShape |
Determines whether the polygon is a complete loop, in which case it is valid.
(Overrides ShapeEntityValidateShape.) |