Pages
API Documentation
On this page

AnnotationTool QML Type

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

  • Import Statement: import org.kde.kquickimageeditor

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.

Constant
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.

Constant
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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.