MultipartBuilder class final

The multipart builders allow you to create and modify geometries made up of multiple parts, such as Polyline and Polygon.

This is a base class for the geometry multipart builders, such as PolylineBuilder or PolygonBuilder.

Inheritance
Implementers

Properties

extent Envelope
The extent for the geometry being constructed in the geometry builder.
no setterinherited
hasCurves bool
True if the geometry builder currently contains any curve segments, false otherwise.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasM bool
True if the geometry builder supports geometries with m values, false otherwise.
no setterinherited
hasZ bool
True if the geometry builder supports geometries with z values, false otherwise.
no setterinherited
isEmpty bool
True if no coordinates have been added to this geometry builder, false otherwise.
no setterinherited
isSketchValid bool
True if the geometry builder contains sufficient points to show a valid graphical sketch, false otherwise.
no setterinherited
parts MutablePartCollection
New parts for the multipart builder.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spatialReference SpatialReference?
The spatial reference for the geometry.
no setterinherited

Methods

addPoint(ArcGISPoint point) int
Adds a new point to the end of the last part of the multipart.
addPointXY({required double x, required double y}) int
Adds a new point to the end of the last part of the multipart.
addPointXYZ({required double x, required double y, required double z}) int
Adds a new point to the end of the last part of the multipart.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceGeometry({required Geometry? geometry}) → void
Replaces the geometry currently stored in the geometry builder with the new geometry.
inherited
toGeometry() Geometry
Returns the geometry this geometry builder is constructing or modifying.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited