AbstractAbstractboundsThe 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.
AbstractcenterThe center point of this circle. Please use move2DToCoordinates or move2DToPoint to move the center to a new position.
AbstractcoordinateThe coordinate type this shape. This property is read only. An Error will be thrown when trying to assign to this property.
AbstractfocusThe 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.
AbstractradiusThe radius of this circle, in meters.
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 type of the shape. The returned value is a bitwise combination of ShapeType values, ShapeType.CIRCLE | ShapeType.CIRCLE_BY_CENTER_POINT
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
Please use contains2DPoint instead.
Abstractcontains2Determines 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
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
InvalidReferenceError when a point has another spatial reference
AbstractcopyIndicates whether this shape is equal to another.
true if both shapes are equal, false otherwise.
Translates this shape so that its center is moved to the specified position.
x coordinate value
y coordinate value
Translates this shape so that its center is moved to the specified position.
The location to move to.
InvalidReferenceError when the reference of the Point parameter does not correspond with the reference of this circle.
Converts the shape to a string. This functionality is for debugging purposes only. Results of toString cannot be used to uniquely identify a shape instance.
Translates the shape over the given vector in 2D space.
The x coordinate of the translation vector
The y coordinate of the translation vector
A
CircleByCenterPointis a Shape that represents a general circle defined by a center point and a radius in the 2D space.The
CircleByCenterPointis defined by:A
CircleByCenterPointcannot be instantiated directly. Instead, it must be created using the createCircleByCenterPoint factory method.