Click or drag to resize

MultipartBuilderT Class

Base class for the geometry multipart builders
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.GeometryGeometryBuilderT
    Esri.ArcGISRuntime.GeometryMultipartBuilderT
      Esri.ArcGISRuntime.GeometryPolygonBuilder
      Esri.ArcGISRuntime.GeometryPolylineBuilder

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public abstract class MultipartBuilder<T> : GeometryBuilder<T>
where T : Multipart

Type Parameters

T
Geometry type

The MultipartBuilderT type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleExtent
Gets the extent for the geometry in the builder.
(Inherited from GeometryBuilderT.)
Public propertyHasM
Gets a value indicating if the geometry builder has M.
(Inherited from GeometryBuilderT.)
Public propertyHasZ
Gets a value indicating if the geometry builder has Z.
(Inherited from GeometryBuilderT.)
Public propertyIsEmpty
Check if a geometry builder is empty or not.
(Inherited from GeometryBuilderT.)
Public propertyIsSketchValid
Gets a flag indicating if this builder contains sufficient points to show a valid graphical sketch.
(Inherited from GeometryBuilderT.)
Public propertyParts
Gets or sets the points for the multipoint.
Public propertySpatialReference
Gets the SpatialReference for the geometry being built.
(Inherited from GeometryBuilderT.)
Top
Methods
  NameDescription
Public methodAddPart(IEnumerableMapPoint)
Adds a new part consisting of the given points to this polygon builder.
Public methodAddPart(IEnumerableSegment)
Adds a new part to this polygon builder.
Public methodAddParts
Adds new parts to this polygon builder.
Public methodCode exampleAddPoint(MapPoint)
Adds a new point to the end of the last part of the multipart.
Public methodAddPoint(Double, Double)
Adds a new point to the end of the last part of the multipart.
Public methodAddPoint(Double, Double, Double)
Adds a new point to the end of the last part of the multipart.
Public methodAddPoints
Adds a list of new points to the end of the last part of the multipart.
Public methodReplaceGeometry
Replace the geometry in the builder to the new geometry.
(Overrides GeometryBuilderTReplaceGeometry(T).)
Public methodCode exampleToGeometry
Returns a Geometry instance representing the current state of the builder
(Inherited from GeometryBuilderT.)
Top
Remarks

Use the MultiPartBuilder Class to to create and/or modify a base Geometry shape. The builder is best suited for editing workflows where the user may be adding, inserting or removing parts of a MultiPart geometry interactively. MultiParts are based upon the parent Geometry Class. The Geometry Class is immutable which means that you can not change its shape once it is created. Hence the MultiPartBuilder provides the way to make changes when working with a Geometry. Use the MultiPartBuilder.ToGeometry Method to get the base geometry from the builder.

See Also