| Package | com.esri.ags.tasks.supportClasses |
| Class | public class BufferParameters |
| Inheritance | BufferParameters Object |
| Since : | ArcGIS API for Flex 2.0 |
See also
| Property | Defined By | ||
|---|---|---|---|
| bufferSpatialReference : SpatialReference
The well-known ID of the spatial reference in which the geometries are buffered. | BufferParameters | ||
| distances : Array
The distances that the input geometries should be buffered. | BufferParameters | ||
| geometries : Array
The array of geometries to be buffered. | BufferParameters | ||
| outSpatialReference : SpatialReference
The well-known ID of the spatial reference for the returned geometries. | BufferParameters | ||
| unionResults : Boolean = false
If true, all geometries buffered at a given distance are unioned into a single
(possibly multipart) polygon and the unioned geometry is placed in the output array. | BufferParameters | ||
| unit : Number
The units for calculating each buffer distance. | BufferParameters | ||
| bufferSpatialReference | property |
public var bufferSpatialReference:SpatialReferenceThe well-known ID of the spatial reference in which the geometries are buffered. If bufferSpatialReference is not specified, the geometries are buffered in the spatial reference specified by outSpatialReference. If outSpatialReference is also not specified, they are buffered in the spatial reference specified by inSpatialReference.
| distances | property |
public var distances:ArrayThe distances that the input geometries should be buffered. The distance units are specified by unit.
| geometries | property |
public var geometries:ArrayThe array of geometries to be buffered.
See also
| outSpatialReference | property |
public var outSpatialReference:SpatialReferenceThe well-known ID of the spatial reference for the returned geometries. If outSpatialReference is not specified, the output geometries are in the spatial reference specified by bufferSpatialReference. If bufferSpatialReference is also not specified, the output geometries will be in the spatial reference specified by inSpatialReference.
| unionResults | property |
public var unionResults:Boolean = falseIf true, all geometries buffered at a given distance are unioned into a single (possibly multipart) polygon and the unioned geometry is placed in the output array.
The default value is false.
| unit | property |
public var unit:NumberThe units for calculating each buffer distance. If unit is not specified, the units are derived from bufferSpatialReference. If bufferSpatialReference is not specified, the units are derived from inSpatialReference.
See also
var bufferParameters:BufferParameters = new BufferParameters(); bufferParameters.geometries = [myLastFeature]; bufferParameters.distances = [ 3000 ]; // [ 2000, 4000 ]; bufferParameters.unit = GeometryService.UNIT_METER; bufferParameters.bufferSpatialReference = new SpatialReference(102100); //30800 myGeometryService.buffer(bufferParameters);