Private
constructorThe bounds of this shape. This property is to be treated in a read only manner. An error will be thrown when trying to assign to this property. Note that the bounds property is not immutable. Modifying properties of the bounds property may corrupt your data.
The coordinate type this shape. This property is read only. An Error will be thrown when trying to assign to this property.
The focus point of this shape. This property is read only. An error will be thrown when trying to assign to this property. This property contains an object but should be treated with value semantics: changes to the shape will not be reflected in the focusPoint that was retrieved from this Polygon before the modification.
The spatial reference of this shape. This property is read only. An Error will be thrown when trying to assign to this property.
returns the amount of shapes in this ShapeList
Add a shape to the end of the ShapeList or at the given index.
InvalidReferenceError If the shape's reference does not correspond with the spatial reference of the ShapeList.
ProgrammingError If the index passed is smaller than zero or larger than the length of the list.
Determines whether a given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
true
when the given point is contained in this shape
Determines whether the given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
The x coordinate of the point for which containment must be checked
The y coordinate of the point for which containment must be checked
true
when the given point is contained in this shape
Point with another spatial reference
Determines whether the given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
The point for which containment must be checked.
true
when the given point is contained in this shape
Point with another spatial reference
Returns true if every shape in this shape list is equal to the shape at the same index in the other shape list.
a shapelist to compare to this list
true if equal, false otherwise
Remove the shape at the given index from the ShapeList
The index of the shape that must be removed.
ProgrammingError If the index is not defined ( 0 <= index < pointCount )
A ShapeList is a Shape that consists of a finite number of other shapes in a given order. A ShapeList must be instantiated by using createShapeList.