Creates a new marker.
SVG container to hold marker's visual.
Default line length when marker is created with a simple click (without dragging).
Additional information about the marker
Method called when marker creation is finished.
Invisible wider line to make selection easier/possible.
Line color.
Line dash array.
Line width.
Visible marker line.
Marker's main visual.
x coordinate of the first end-point
x coordinate of the second end-point
y coordinate of the first end-point
y coordinate of the second end-point
Marker type title (display name) used for accessibility and other attributes.
String type name of the marker type.
Used when adding MarkerView.availableMarkerTypes via a string and to save and restore state.
SVG container object holding the marker's visual.
Outer SVG group container not manipulated or transformed by the marker itself in any way
Adds marker's root visual element to the container group.
marker's visual element.
Adjusts marker visual after manipulation.
Handles pointer (mouse, touch, stylus, etc.) double click event.
event coordinates.
direct event target element.
Hides marker's controls.
Disposes the marker and clean's up.
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.
Resizes the line marker.
current manipulation coordinates.
Restores previously saved marker state.
previously saved state.
Scales marker. Used after the image resize.
horizontal scale
vertical scale
Displays marker's controls.
Sets line color.
new color.
Sets line dash array.
new dash array.
Sets line width.
new width.
Generated using TypeDoc
Represents an arrow marker.