This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/geometry/Geometry.html.
Packagecom.esri.ags.geometry
Classpublic class Geometry
InheritanceGeometry Inheritance Object
Subclasses Extent, MapPoint, Multipoint, Polygon, Polyline

Base class for geometry objects.

Default MXML PropertyspatialReference



Public Properties
 PropertyDefined By
  extent : Extent
[read-only] The extent of geometry.
Geometry
  spatialReference : SpatialReference
The spatial reference of the geometry.
Geometry
  type : String
[read-only] The type of geometry.
Geometry
Public Constants
 ConstantDefined By
  EXTENT : String = esriGeometryEnvelope
[static] An extent is defined by xmin, ymin, xmax and ymax.
Geometry
  MAPPOINT : String = esriGeometryPoint
[static] A MapPoint is a basic point with x (often longitude), y (often latitude) and an optional spatial reference.
Geometry
  MULTIPOINT : String = esriGeometryMultipoint
[static] A multipoint consists of one or more MapPoint(s).
Geometry
  POLYGON : String = esriGeometryPolygon
[static] A polygon is a set of areas with three or more points.
Geometry
  POLYLINE : String = esriGeometryPolyline
[static] A polyline is set of lines with two or more points.
Geometry
Property Detail
extentproperty
extent:Extent  [read-only]

The extent of geometry.

Note: the extent property on Geometry was added in version 1.1 of the ArcGIS API for Flex.


Implementation
    public function get extent():Extent
spatialReferenceproperty 
public var spatialReference:SpatialReference

The spatial reference of the geometry.

typeproperty 
type:String  [read-only]

The type of geometry.


Implementation
    public function get type():String
Constant Detail
EXTENTConstant
public static const EXTENT:String = esriGeometryEnvelope

An extent is defined by xmin, ymin, xmax and ymax.

See also

MAPPOINTConstant 
public static const MAPPOINT:String = esriGeometryPoint

A MapPoint is a basic point with x (often longitude), y (often latitude) and an optional spatial reference.

See also

MULTIPOINTConstant 
public static const MULTIPOINT:String = esriGeometryMultipoint

A multipoint consists of one or more MapPoint(s).

See also

POLYGONConstant 
public static const POLYGON:String = esriGeometryPolygon

A polygon is a set of areas with three or more points.

See also

POLYLINEConstant 
public static const POLYLINE:String = esriGeometryPolyline

A polyline is set of lines with two or more points.

See also