Annotate plugin

Use the Annotate plugin to draw and add shapes in the image context. This means that if the image is flipped or rotated the annotations are flipped and rotated along with the image. Annotations cannot be drawn outside of the image bounds.

Use the Decorate plugin to draw and add shapes to the crop context, these shapes aren't bound to the image and will always render on top of annotations.

When both plugins are used at the same time, annotations are drawn first and decorations are layered on top.

Property Default value Description
annotateTools
undefined
Markup editor toolbar to show in the annotate view.
annotateToolShapes
undefined
Markup editor tool styles to use.
annotateActiveTool
'sharpie'
Which tool to select in the toolbar.
annotateEnableButtonFlipVertical
false
Enable the vertical flip button in the Markup Editor bar.
annotateShapeControls
undefined
Style controls available to change shape appearance.
annotatePresets
[]
An array of annotation presets ("stickers") to render in the presets tool tab. See stickers for more information.
annotateWillRenderShapePresetToolbar
undefined
Set to a function that receives the node tree for the preset toolbar. Should synchronously return the node tree. See willRenderShapePresetToolbar for details.