replaceGeometry

open override fun replaceGeometry(geometry: Envelope?)

Replaces the geometry currently stored in the geometry builder with the new geometry. This method can be used as an alternative to creating a new builder from an existing geometry. Note that this does not update the spatial reference of the builder and the builder geometry is cleared if the geometry is null. Geometries with curves are supported.

Since

200.1.0

Parameters

geometry

A geometry object.