ArcGIS Explorer Component Help |
Polygon Methods |
Polygon Class See Also |
The Polygon type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddPoint | Overloaded. Adds a Point to the Polygon by copying the specified Point after any existing points. | |
AddPoints | Overloaded. Adds an enumerable set of points to the Polygon by copying the specified points after any existing points. | |
AddRing | Overloaded. Adds a new ring to the Polygon. | |
Clone |
Returns a new Polygon with properties equal to the current Polygon.
| |
Close |
Closes the Polygon, ensuring that the last Point in the Polygon is at the same location as
the first Point, by adding points if necessary.
| |
CreateFromXmlString | Helper method to generate an object from its XML representation, used to deserialize an object passed to a worker thread. | |
Equals | Tests whether the specified object and the current object refer to the same underlying object. (Inherited from Geometry.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetCenter |
Gets a new Point object located at the center of this Geometry.
(Inherited from Geometry.) | |
GetEnvelope | Returns a new Envelope indicating the geographical extent of the Geometry. (Inherited from Geometry.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetLabelPoint |
Returns a Point suitable for labeling the Polygon.
(Overrides Geometry..::.GetLabelPoint()()().) | |
GetPerimeter |
Returns a Polyline representing the perimeter of the Polygon.
| |
GetPoint | Overloaded. Gets a copy of the specified Point. | |
GetRing |
Gets the a copy of the points in the requested ring of the Polygon.
| |
GetRings |
Gets the a copy of the points in all of the rings of the Polygon.
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
GetXmlSchema |
Creates a schema for this class (required by the serialization implementation for this class).
| |
InsertPoint | Overloaded. Inserts a copy of the specified Point into the Polygon. | |
InsertPoints | Overloaded. Inserts a copy of the specified set of points into the Polygon. | |
InsertRing |
Inserts a new ring at the specified index containing the specified points.
| |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
PointCount | Overloaded. Gets the number of points. See overloads for details. | |
PointCountAllRings |
Gets the total number of points in all of the rings in a single part or multipart Polygon.
| |
RemoveAllPoints |
Removes all points from the Polygon.
| |
RemovePointAt | Overloaded. Removes the specified Point from the Polygon. | |
RemovePointsAt | Overloaded. Removes the specified points from the Polygon. | |
RemoveRing |
Removes the specified ring, and all of the points that compose that ring, from the Polygon.
| |
SetPoint | Overloaded. Replaces an existing Point in the Polygon with a copy of the specified Point. | |
SetPoints | Overloaded. Replaces an existing Point in the Polygon with a copy of the specified Point. | |
SetRing |
Replaces any existing points in the specified ring with the specified points.
| |
ToString |
Returns a string containing basic information about the Polygon.
(Overrides Object..::.ToString()()().) | |
ToXmlString | Helper method to serialize an object to its XML representation, used to serialize an object to pass to a worker thread. (Inherited from Geometry.) |