The polyline builder object is used to create a polyline.
Creates a polyline builder from a polyline.
Creates a polyline builder.
Creates a polyline builder with a list of MutablePart.
Creates a polyline 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.
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: