Text color.
Text color.
Returns the SVG container for the marker's and editor's visual elements.
When set to true, a new marker of the same type is created immediately after the current one is finished.
Marker creation style.
Markers can either be created by drawing them or just dropping them on the canvas.
Gets marker's fill color.
Sets marker's fill color.
Returns text's font family.
Sets text's font family.
Returns text's font size.
Returns true if the marker is currently selected
Returns the marker instance.
Gets marker's notes.
Sets marker's notes.
Gets marker's opacity.
Sets marker's opacity.
Overlay container for HTML elements like text editors, etc.
Gets editor's state.
Gets marker's stroke (outline) color.
Sets marker's stroke (outline) color.
color as string
Gets marker's stroke (outline) dash array.
Sets marker's stroke (outline) dash array.
dash array as string
Gets marker's stroke (outline) width.
Sets marker's stroke (outline) width.
stroke width in pixels.
ProtectedaddAdds control grips to control box.
ProtectedadjustAdjusts control box size and location.
ProtectedadjustAdjusts visibility of resize grips.
Handles pointer (mouse, touch, stylus, etc.) double click event.
event coordinates.
Optionaltarget: EventTargetdirect event target element.
Optionalev: MouseEventpointer event.
Deselects this marker and hides selected marker UI.
Disposes the marker and clean's up.
Returns marker's state that can be restored in the future.
Hides all marker's visuals and editor controls.
This could be useful when you want to temporarily hide the marker so you can, for example, create a new one in the same place. Reveal it later with show.
ProtectedhideHides marker's editing controls.
Handles marker manipulation (move, resize, rotate, etc.).
event coordinates.
Optionalev: PointerEventpointer event.
Returns true if the marker or the editor owns supplied target element.
target element
Optionaltarget: EventTargetOptionalev: PointerEventOptionalev: PointerEventProtectedpositionPositions specific grip.
ProtectedpositionUpdates manipulation grip layout.
ProtectedresizeRestores previously saved marker state.
previously saved state.
Scales the marker and the editor.
Selects this marker and displays appropriate selected marker UI.
ProtectedsetSets control box size and location.
ProtectedsetupCreates control box for manipulation controls.
Shows all marker's visuals and editor controls.
This could be useful when you want to temporarily hide the marker (with hide) so you can, for example, create a new one in the same place.
ProtectedshowShows marker's editing controls.
ProtectedstateCalled by a marker when its state could have changed. Does a check if the state has indeed changed before firing the handler.
Protected_containerSVG container for the marker's and editor's visual elements.
Protected_continuousWhen set to true, a new marker of the same type is created immediately after the current one is finished.
Protected Optional_controlSVG group holding editor's control box.
Protected_creationMarker creation style.
Markers can either be created by drawing them or just dropping them on the canvas.
Protected_isIs this marker selected?
Protected_markerMarker instance.
Protected_markerMarker type constructor.
Marker type constructor.
Protected_overlayOverlay container for HTML elements like text editors, etc.
Protected_stateEditor's state.
Protected_suppressWhen set to true marker created event will not be triggered.
Protected OptionalactiveActive grip during manipulation
Protected OptionalcontrolContainer for the marker's editing controls.
ProtecteddisabledArray of disabled resize grips.
Use this in derived classes to disable specific resize grips.
ProtectedisIs this marker selected in a multi-selection?
ProtectedmanipulationContainer for the marker's manipulation grips.
ProtectedmanipulationHeight at the start of manipulation.
Protectedmanipulationx coordinate of the top-left corner at the start of manipulation.
Protected OptionalmanipulationMarker's state when it is selected
Protectedmanipulationy coordinate of the top-left corner at the start of manipulation.
ProtectedmanipulationWidth at the start of manipulation.
Protectedmanipulationx coordinate of the pointer at the start of manipulation.
Protectedmanipulationy coordinate of the pointer at the start of manipulation.
ProtectedoffsetXPointer's horizontal distance from the top left corner.
ProtectedoffsetYPointer's vertical distance from the top left corner.
OptionalonMethod called when marker creation is finished.
OptionalonMethod to call when marker state changes.
ProtectedtextText block editor.
ProtectedtextContainer for text block editor.
Editor for caption frame markers.