The default editor used by the CreateController.

It is nothing more than a CompositeEditor that combines all the shape editors in LuciadRIA:

export class ShapeEditor extends CompositeEditor {

constructor() {
super([]);
this.delegates = [
new PointEditor(),
new BoundsEditor(),
new PointListEditor(),
new ArcEditor(),
new ArcBandEditor(),
new CircleByCenterPointEditor(),
new CircleBy3PointsEditor(),
new CircularArcBy3PointsEditor(),
new CircularArcByBulgeEditor(),
new CircularArcByCenterPointEditor(),
new EllipseEditor(),
new GeoBufferEditor(this),
new SectorEditor(),
new ComplexPolygonEditor(this),
new ExtrudedShapeEditor(this),
new ShapeListEditor(this)
]
}

}

This code snippet can be used to create a custom list of default shape editors.

Since

2022.1

Hierarchy

Constructors

Accessors

  • get delegates(): Editor[]
  • The list of delegates used by this editor.

    You can set another list of delegates after construction, but it should not be set while creation or editing is in progress (ie. while this editor is in use by a CreateController).

    Returns Editor[]

  • set delegates(delegates): void
  • Parameters

    Returns void

Methods