Creates a LineMarkerBase object.
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.
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.
When implemented adjusts marker visual after manipulation when needed.
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 marker's state to the previously saved one.
previously saved state.
Scales marker. Used after the image resize.
horizontal scale
vertical scale
Displays marker's controls.
Generated using TypeDoc
LinearMarkerBase is a base class for all line-type markers (Line, Arrow, Measurement Tool, etc.).