SVG container to hold marker's visual.
overlay HTML container to hold additional overlay elements while editing.
settings object containing default markers settings.
Is this marker selected?
Caption background element.
Caption text element.
Caption text.
Container for the marker's editing controls.
Caption background (fill) color.
Caption background (fill) color toolbox panel.
Caption font family.
Text font family toolbox panel.
Caption font size.
Frame rectangle.
Marker height.
True if the marker has moved in the manipulation.
x coordinate of the top-left corner.
Height at the start of manipulation.
x coordinate of the top-left corner at the start of manipulation.
Marker's state when it is selected
y coordinate of the top-left corner at the start of manipulation.
Width at the start of manipulation.
x coordinate of the pointer at the start of manipulation.
y coordinate of the pointer at the start of manipulation.
Additional information about the marker
Pointer's horizontal distance from the top left corner.
Pointer's vertical distance from the top left corner.
Method to call when foreground color changes.
Method to call when background/fill color changes.
Method called when marker creation is finished.
Method to call when marker state changes.
Marker's rotation angle.
Frame border color.
Frame border dash array.
Frame stroke color toolbox panel.
Frame stroke style toolbox panel.
Frame border line width.
Frame stroke width toolbox panel.
Caption text color.
Text color picker toolbox panel.
y coordinate of the top-left corner.
Marker width.
SVG icon markup displayed on toolbar buttons.
Marker type title (display name) used for accessibility and other attributes.
String type name of the marker type.
Used when adding MarkerArea.availableMarkerTypes via a string and to save and restore state.
x coordinate of the marker's center.
y coordinate of the marker's center.
SVG container object holding the marker's visual.
Returns true if the marker is currently selected
HTML container that can be used to render overlay objects while the marker is active.
For example, this is used for the text editing layer while editing text in the {@see TextMarker}.
Current marker state.
Both MarkerArea and the marker itself can react differently to different events based on what state the marker is in.
Returns the list of toolbox panels for this marker type.
Instance property returning marker's type name.
Container for the marker's visual.
Container for the marker's visual.
Called by a marker when its foreground color changes.
Creates marker visual.
Opens text editor on double-click.
Hides marker's controls.
Disposes the marker and clean's up.
Called by a marker when its background/fill color changes.
Returns current marker state that can be restored in the future.
Hides marker's editing controls.
Handles marker manipulation (move, resize, rotate, etc.).
event coordinates.
Moves visual to the specified coordinates.
coordinates of the new top-left corner of the visual.
Returns true if passed SVG element belongs to the marker. False otherwise.
target element.
Handles pointer (mouse, touch, stylus, etc.) down event.
event coordinates.
direct event target element.
Handles pointer (mouse, touch, stylus, etc.) up event.
event coordinates.
Resize marker based on current pointer coordinates and context.
Restores previously saved marker state.
previously saved state.
Scales marker. Used after the image resize.
horizontal scale
vertical scale
Displays marker's controls.
Sets caption text.
new caption text.
Sets marker's fill (background) color.
new fill color.
Sets font family.
new font family.
Sets marker's visual size after manipulation.
Sets marker's line color.
new line color.
Sets marker's border dash array.
new dash array.
Sets marker's line width.
new line width
Sets text color.
new text color.
Shows marker's editing controls.
Adjusts caption size and location.
Called by a marker when its state could have changed. Does a check if the state has indeed changed before firing the handler.
The default marker size when the marker is created with a click (without dragging).
Generated using TypeDoc
Creates a new marker.