The Polygon class represents a geometric shape that has three or more vertices and forms a closed ring.


The following tables list the members exposed by Polygon.

Public Constructors

  Name Description
Static Public method Polygon Overloaded.  
Top

Public Properties

  Name Description
Public property Area Returns the area of the Shape in map square units. (inherited from Shape)
Public property Centroid Returns the centroid of the Shape as a Point object. (inherited from Shape)
Public property Count Returns the number of parts in the Shape. (inherited from Shape)
Public property Extent Returns a Rectangle representing the spatial extent of the Points collection. (inherited from Shape)
Public property Item Gets or sets a part of the Shape. (inherited from Shape)
Public property LabelPoint Returns a hint for the placement of a label for this shape. (inherited from Shape)
Public property Length Returns the length of the Shape in map units. (inherited from Shape)
Public property Perimeter Returns the length of the perimeter of the Polygon.
Public property PointCount Returns the total number of points (including all parts) in the Shape. (inherited from Shape)
Public property ShapeData Returns or sets the contents of the Shape as binary data (ESRI Shapefile specification). (inherited from Shape)
Public property ShapeType Gets or sets the type of the Shape. (inherited from Shape)
Public property WkbData Returns or sets the contents of the Shape as Well-Known Binary data (OpenGIS Simple Features Specification 1.1). (inherited from Shape)
Top

Public Methods

  Name Description
Public method Add Adds a new part to the Shape. (inherited from Shape)
Public method Buffer Returns a polygon that represents the perimeter of another shape object that has been increased or decreased by a specific distance in all directions. (inherited from Shape)
Public method Clear Removes all parts of the Shape. (inherited from Shape)
Public method Clone Returns a copy of the Shape. (inherited from Shape)
Public method Contains Returns a value that indicates whether a shape wholly contains another shape. (inherited from Shape)
Public method ConvexHull Constructs the convex hull of this Shape. (inherited from Shape)
Public method Difference Returns a shape that represents the geometric difference of two shape objects. (inherited from Shape)
Public method Dispose  
Public method FindNearestPoint Returns the most closest point to the given point. (inherited from Shape)
Public method GetCrossings Returns a Points collection whose members represent the points at which two spatial objects cross. (inherited from Shape)
Public method GetPoint Gets a point within the Shape. (inherited from Shape)
Public method Intersect Returns a shape that represents the geometric intersection of one shape object with another shape object. (inherited from Shape)
Public method Intersects Returns a value that indicates whether a shape intersects another shape. (inherited from Shape)
Public method MakeCircle Makes a circle Shape object. (inherited from Shape)
Public method MakeRectangle Makes a rectangle Shape object. (inherited from Shape)
Public method Remove Removes a part from a Shape object. (inherited from Shape)
Public method Union Returns a shape that represents the geometric union of two shape objects. (inherited from Shape)
Top

Explicit Interface Implementations

  Name Description
Static Private method Polygon Overloaded.  
Top

See Also