Default font size for the CaptionFrameMarker
Default caption text for the CaptionFrameMarker
Default foreground color.
List of colors used in color pickers.
If set to true, when colors on a marker are changed it changes the default color for other markers as well.
Default fill color.
Font family options.
Default font family for text-based markers (eg. TextMarker and CalloutMarker).
Default highlighter color.
Default opacity (alpha) of the HighlightMarker (and other highlighters).
Opacity options.
Default stroke color for markers with background (eg. CalloutMarker).
Default line dash array
Stroke dash array options.
Default stroke (line) width.
Stroke (line) width options.
Default text for the TextMarker
based markers
When set to true rotation feature is disabled on markers. This doesn't affect markers restored from a previously saved state.
Default display mode.
Increase this setting for smoother FreehandMarker lines. Note that it will also take more space when you save the state.
Create a new Freehand marker for every stroke.
Margin in pixels between marker.js popup UI and window borders.
If set, the UI will be offset by the specified number of pixels on the left.
If set, the UI will be offset by the specified value, otherwise it will be offset by -toolbarHeight or 0 if there's less space than toolbarHeight on top.
Use this if you want to control the position inside a
position: relative
parent, as auto-calculation
will calculate available space from the relative
container and not the whole page.
Common usage when used with a relatively positioned parent would be:
markerArea.targetRoot = document.getElementById('relativeParent');
markerArea.settings.uiOffsetTop = -markerArea.styles.settings.toolbarHeight;
This would ensure that the toolbar is placed above the image even if the image's offset from the relative parent is 0.
Enable word wrapping in text markers (TextMarker
, CalloutMarker
)
Generated using TypeDoc
Default settings for marker.js 2 markers.