Polygon Builder
Creates a polygon builder from a polygon.
Prior to v100.12, only polygons without curves could be used; passing in a polygon where Geometry.hasCurves is true would throw an exception.
From v100.12, polygons with curves are supported.
Since
200.1.0
See also
Parameters
a Polygon from which to start this builder
a trailing lambda parameter from within which to configure the builder.
Creates a polygon builder.
Since
200.1.0
Parameters
a SpatialReference from which to start this builder
a trailing lambda parameter from within which to configure the builder.
Creates a polygon builder with a list of MutablePart.
The spatial reference of the builder will be either the spatial reference of the first part or null if there are no parts.
Since
200.1.0
Parameters
the parts with which to create the builder. All parts must have the same spatial reference.
a trailing lambda parameter from within which to configure the builder.
Creates a polygon builder with a list of points.
The spatial reference of the builder will be either the given spatial reference, or the first Point's spatial reference or null if it is not defined by both.
Since
200.1.0
Parameters
the points with which to create the builder. All points must have the same spatial reference.
a trailing lambda parameter from within which to configure the builder.