The polygon builder object is used to create a polygon.
Creates a polygon builder from a polygon.
Creates a polygon builder.
Creates a polygon builder with a list of MutablePart.
Creates a polygon builder with a list of points.
Adds a new point to the end of the last part of the multipart. If there are no parts then an initial part is created and the point added to that. The point becomes the end point of a line segment in the part.
Replaces the geometry in the builder with the new geometry. This does not update the spatial reference of the builder. If the geometry is null, the builder is cleared.
Creates a geometry with the values in the geometry builder.
Creates a polyline with the values in the polygon builder. Creates the polyline object described by this builder.
A value indicating whether the geometry builder currently contains any curve segments. The ArcGIS Platform supports polygon and polyline geometries that contain curve segments (where Segment.getIsCurve() is true, sometimes known as true curves or nonlinear segments). Curves may be present in certain types of data - for example Mobile Map Packages (MMPKs), or geometry JSON.
Check if a geometry builder contains sufficient points to show a valid graphical sketch. This can be used as an initial lightweight check to see if the current state of a builder produces a non-empty geometry; for example, it may be used to enable or disable functionality in an editing user interface. The exact requirements vary depending on the type of geometry produced by the builder: