Creates a new ComplexPolygonEditor
the editor to delegate sub-shape getEditHandles to.
Protected
delegateProtected
shapeIndicates whether this editor can edit the given context.
true
if context.shape matches the shape type defined in the constructor,
and the delegate can edit all subshapes.
Creates the shape translation handle.
This is a handle that allows translation (moving) of an entire shape / feature.
The context to retrieve the shape translate handle for
Returns a handle that is used to create the given object.
the edit context
an editing handle that is used to initialize the state of the object being created.
This method is called by EditController to retrieve the handles for editing.
For example, point list translation/insertion/deletion handles, handles to modify a circles center and radius,... By default, all editors include a shape translation handle.
This is also used for creation, when the "create-by-template" approach is used to create new shapes.
The context to retrieve the handles for.
Returns the number of sub-shapes of the given shape.
The shape to determine the number of sub-shapes for
An editor for features with complex polygon shapes. See ComposedShapeEditor for more information.
This editor only supports editing the polygons in a ComplexPolygon. It does not support creation of complex polygons. It also does not support adding and removing polygons to the complex polygons.
Since
2022.1