esri.geometry.Geometry
| Property | Type | Description |
|---|---|---|
| spatialReference | SpatialReference | The spatial reference of the geometry. See Projected Coordinate Systems and Geographic Coordinate Systems for the list of supported spatial references. |
| type | String | The type of geometry. |
| Method | Return Value | Description |
|---|---|---|
| setSpatialReference(sr) | Geometry | Sets the spatial reference. The return value of Geometry was added at v1.4. |
| toJson() | Object | Converts object to its ArcGIS Server JSON representation. |
Geometry was added at v1.4.| <SpatialReference> sr | Required | Spatial reference of the geometry. |