SVG container to hold marker's visual.
Recangle fill color.
Marker height.
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.
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 called when marker creation is finished.
Rectangle opacity (alpha). 0 to 1.
Marker's rotation angle.
Rectangle stroke color.
Rectangle border stroke dash array.
Rectangle border stroke width.
y coordinate of the top-left corner.
Marker width.
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.
x coordinate of the marker's center.
y coordinate of the marker's center.
SVG container object holding the marker's visual.
Outer SVG group container not manipulated or transformed by the marker itself in any way
Container for the marker's visual.
Container for the marker's visual.
Adds marker's root visual element to the container group.
marker's visual element.
Creates the marker's rectangle visual.
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.
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.
Resizes the marker based on the pointer coordinates.
current pointer 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 rectangle's fill color.
color as string
Sets visual's width and height attributes based on marker's width and height.
Sets rectangle's border stroke color.
color as string
Sets rectangle's border stroke dash array.
Sets rectangle's border stroke (line) width.
The default marker size when the marker is created with a click (without dragging).
Generated using TypeDoc
Creates a new marker.