PolygonEntity Class |
Namespace: Telogis.GeoBase.ShapeUI
The PolygonEntity type exposes the following members.
Name | Description | |
---|---|---|
PolygonEntity |
Creates a polygon entity on the supplied layer with the supplied geometry.
|
Name | Description | |
---|---|---|
BoundingBox |
The bounding box of this shape.
(Inherited from ShapeEntity.) | |
Fill |
Determines the color / style of the inside of the shape.
(Inherited from ShapeEntity.) | |
IsHighlighted |
Whether the entire shape is highlighted
(Inherited from ShapeEntity.) | |
IsSelected |
Whether this shape is selected.
(Inherited from ShapeEntity.) | |
Outline |
Determines the color / style of the outline of the shape.
(Inherited from ShapeEntity.) | |
Polygon |
The underlying polygon object.
| |
Priority |
The rendering priority of this shape.
(Inherited from ShapeEntity.) | |
Tag |
A tag for the entity, can be used to model any relevant data for the entity.
(Inherited from ShapeEntity.) |
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.) |
Name | Description | |
---|---|---|
BoundingBoxChanged |
Event that is fired when the shape's bounding box changes.
(Inherited from ShapeEntity.) | |
FillChanged |
Event that is fired when the shape's fill brush changes.
(Inherited from ShapeEntity.) | |
GeometryChanged |
Event that is fired when the shape's geometry changes.
(Inherited from ShapeEntity.) | |
IsHighlightedChanged |
Event that is fired when the shape is highlighted or un-highlighted.
(Inherited from ShapeEntity.) | |
IsSelectedChanged |
Event that is fired when the shape is selected or unselected.
(Inherited from ShapeEntity.) | |
OutlineChanged |
Event that is fired when the shape's outline pen changes.
(Inherited from ShapeEntity.) | |
TagChanged |
Event that is fired when the shape's tag changes.
(Inherited from ShapeEntity.) |