Sets the offset distance, type and other parameters for the GeometryService.offset operation.
The name of the class.more details
The array of geometries to be offset.more details
Specifies the planar distance for constructing an offset based on the input geometries.more details
Options that determine how the ends intersect.more details
The offset distance unit.more details
- bevelRatio Number
bevelRatiois multiplied by the offset distance and the result determines how far a mitered offset intersection can be located before it is beveled. When mitered is specified, the value set for
bevelRatiois ignored and
10is used internally. If beveled is specified,
1.1will be used if no value is set for bevelRatio. The bevelRatio is ignored when
The name of the class. The declared class name is formatted as
The array of geometries to be offset.
- offsetDistance Number
Specifies the planar distance for constructing an offset based on the input geometries. If the
offsetDistanceparameter is positive, the constructed offset will be on the right side of the curve. Left side offsets are constructed with negative values.
- offsetHow String
Options that determine how the ends intersect. Set to one of the following options:
Possible Value Description bevelled Squares off the corner after a given ratio distance. mitered Attempts to allow extended offsets to naturally intersect. If the intersection occurs too far from a corner, the corner will be beveled off at a fixed distance. rounded Rounds the corner between extended offsets.
- offsetUnit String
Creates a new instance of this class and initializes it with values from a JSON object generated from a product in the ArcGIS platform.more details
|Object||more details||more details||OffsetParameters|
Creates a new instance of this class and initializes it with values from a JSON object generated from a product in the ArcGIS platform. The object passed into the input
jsonparameter often comes from a response to a query operation in the REST API or a toJSON() method from another ArcGIS product. See the Using fromJSON() topic in the Guide for details and examples of when and how to use this function.Parameter:json Object
A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.Returns:
Type Description * Returns a new instance of this class.
API Reference search results