Constructor options for EditController.

Hierarchy

  • EditControllerConstructorOptions

Properties

editor?: Editor

The Editor determines how editing behaves.

The Editor.getEditHandles to create handles for editing.

Since

2022.1

finishOnSingleClick?: boolean

Indicates whether to finish editing on a single-click event, or a double click event (the default)

Default

false
handleIconStyle?: IconStyle

The style used to draw point handles.

helperStyle?: ShapeStyle

The style used for drawing helper shapes.

mouseInteractionRadius?: number

The mouse interaction radius to use, in pixels.

This is the radius used for mouse events, to determine interaction with handles.

touchInteractionRadius?: number

The touch interaction radius to use, in pixels.

This is the radius used for touch events, to determine interaction with handles. Typically, this is larger than the mouseInteractionRadius.