scale
Scales the given geometry by the specified factors from the specified origin point. If the origin Point has a different SpatialReference than that of the geometry parameter, the point will be reprojected before the geometry is scaled, using the default transformation.
Scaling a Point using the same location for the origin parameter returns a Point with the same values as the input.
Positive scale factors greater than 1 increase the size of the com.arcgismaps.mapping.view.geometryeditor.GeometryEditor.geometry, and positive factors between 0 and 1 reduce the size of the geometry. 0 or negative scale factors produce a geometry reflected across the axes of the origin point. Negative factors less than -1 both reflect and increase the size of the geometry, and negative factors between -1 and 0 both reflect and reduce the size of the geometry. Scale factors of -1 reflect the geometry across the axes of the origin point without changing the size.
Supports true curves.
Return
A new geometry constructed by scaling the input geometry by the specified factors from the specified origin point.
Since
200.2.0
Parameters
The geometry to scale.
The scale factor along the x-axis. It can be positive or negative. It cannot be a non-numeric value.
The scale factor along the y-axis. It can be positive or negative. It cannot be a non-numeric value.
The point around which the geometry will be scaled. If null, or Geometry.isEmpty is true, the center of the extent of the geometry parameter is used.
See also
(Geometry, Double, Double)
(Geometry, Double, Point)
(Double, Double, Point)
Throws
scaleX and scaleY must be valid numeric values. They cannot be NaN or infinity. Also thrown if origin cannot be projected to the geometry's spatial reference.