AnnotationTool QML Type
The data structure that controls the creation of the next item. More...
| Import Statement: | import org.kde.kquickimageeditor |
Properties
- Option : enumeration
- Tool : enumeration
- 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
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 | Value |
|---|---|
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 | Value |
|---|---|
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 |