This is the archived documentation for Doka Image Editor v7.
Please visit pqina.nl/pintura/docs/ to see documentation for the latest version of Pintura Image Editor.
Annotate
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 |
|
Markup editor toolbar to show in the annotate view. |
annotateToolShapes |
|
Markup editor tool styles to use. |
annotateActiveTool |
|
Which tool to select in the toolbar. |
annotateEnableButtonFlipVertical |
|
Enable the vertical flip button in the Markup Editor bar. |
annotateShapeControls |
|
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 |
|
Set to a function that receives the node tree for the preset toolbar. Should synchronously return the node tree. See willRenderShapePresetToolbar for details.
|