AnnotationTool QML Type

The data structure that controls the creation of the next item. More...

Import Statement: import org.kde.kquickimageeditor

Properties

Detailed Description

From QML its parameter will be set by the app toolbars, and then drawing on the screen with the mouse will lead to the creation of a new item based on those parameters.

Property Documentation

Option : enumeration

These options are meant to help control which options are visible in the UI and what kinds of traits a drawable object should have.

ConstantValue
NoOptions
StrokeOption
FillOption
StrengthOption
FontOption
TextOption
NumberOption
ShadowOption

Tool : enumeration

These tools are meant to be shown as selectable tool types in the UI. They can also affect the types of traits a drawable object is allowed to have.

ConstantValue
NoTool
SelectTool
FreehandTool
HighlighterTool
LineTool
ArrowTool
RectangleTool
EllipseTool
BlurTool
PixelateTool
TextTool
NumberTool
NTools

fillColor : color


font : font


fontColor : color


isCreationTool : bool


isMetaTool : bool


isNoTool : bool


number : int


options : Options


shadow : bool


strength : real


strokeColor : color


strokeWidth : int


type : Tool