| Package | com.esri.ags.utils |
| Class | public class GraphicUtil |
| Inheritance | GraphicUtil Object |
See also
| Method | Defined By | ||
|---|---|---|---|
getGeometries(graphics:Array):Array [static]
Extracts array of geometries from array of graphics [added in version 2.0]. | GraphicUtil | ||
getGraphicsExtent(graphics:Array):Extent [static]
Returns the extent of all the graphics in the argument array. | GraphicUtil | ||
| getGeometries | () | method |
public static function getGeometries(graphics:Array):Array| Since : | ArcGIS API for Flex 2.0 |
Extracts array of geometries from array of graphics [added in version 2.0].
Parameters
graphics:Array — The array of Graphic objects to get geometries from.
|
Array — geometries The array of Geometry objects.
|
See also
| getGraphicsExtent | () | method |
public static function getGraphicsExtent(graphics:Array):ExtentReturns the extent of all the graphics in the argument array. If the width and height of the resultant extent is 0, null is returned.
Parameters
graphics:Array — The array of Graphic objects to calculate extent for.
|
Extent — The unioned extent of all the input graphics.
|
See also