Click or drag to resize

PolygonEntity Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The PolygonEntity type exposes the following members.

Methods
  NameDescription
Public methodAddVertex
Add a new vertex at the end of the polygon.
Public methodBeginEditing
Returns the PolygonEditState when the layer begins editing this shape.
(Overrides ShapeEntityBeginEditing.)
Public methodDeleteVertex
Deletes the last modified (added, inserted or moved) point.
Public methodDeleteVertex(Int32)
Deletes the vertex with the specified index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetArea
Gets the total area of the polygon using a Pythagorean approximation.
(Overrides ShapeEntityGetArea.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPoints
Gets the polygon's vertices.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHitTest
Checks whether a location is within this polygon.
(Overrides ShapeEntityHitTest(LatLon).)
Public methodInsertVertex
Inserts a vertex between two other vertices.
Public methodMoveVertex
Moves an existing vertex to a new location.
Public methodRender
Renders the underlying polygon.
(Overrides ShapeEntityRender(Graphics, RenderContext).)
Public methodRenderEdge
Renders a specific edge. The edge is the one that starts at the vertex with the specified index and ends at the next vertex.
Public methodRenderVertex
Renders a specific vertex.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateShape
Determines whether the polygon is a complete loop, in which case it is valid.
(Overrides ShapeEntityValidateShape.)
Top
See Also