Optional properties: PolygonPropertiesReadonly cacheThe cache is used to store values computed from geometries that need to be cleared or recomputed upon mutation.
The centroid of the polygon.
Readonly extentThe extent of the geometry.
Indicates if the geometry has M values.
Indicates if the geometry has z-values (elevation).
Checks to see if polygon rings cross each other and indicates if the polygon is self-intersecting, which means the ring of the polygon crosses itself.
An array of rings.
The spatial reference of the geometry.
WGS84 (wkid: 4326)
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html#spatialReference)
Readonly typeThe string value representing the type of geometry.
Protected _getProtected _setAdds a ring to the Polygon.
Creates a deep clone of Polygon object.
Checks on the client if the input point is inside the polygon.
Inserts a new point into the polygon.
Checks if a Polygon ring is clockwise.
Protected notifyUpdates a point in the polygon.
Converts an instance of this class to its ArcGIS portal JSON representation.
Static fromConverts the given Extent to a Polygon instance.
Static fromJSONGenerated using TypeDoc
A polygon contains an array of rings and a spatialReference.
Read more...