MauiKit Image Tools
8import org.mauikit.controls as Maui
9import org.mauikit.imagetools.editor as ITE
13 property bool enableAnimation: !(root.parent instanceof SelectionTool)
14 || !(parent.selectionArea.drag.active
15 || (parent.pressedHandle && parent.pressedHandle.drag.active))
21 border.color:
Maui.Theme.highlightColor
26 fillColor:
"transparent"
29 strokeStyle: ShapePath.DashLine
31 dashPattern: [
Maui.Style.space.small/ strokeWidth,
Maui.Style.space.small / strokeWidth + 2]
33 startX: -strokeWidth/2; startY: startX
34 PathLine { x: root.width - shapePath.startX; y: shapePath.startY }
35 PathLine { x: root.width - shapePath.startX; y: root.height - shapePath.startY }
36 PathLine { x: shapePath.startX; y: root.height - shapePath.startY }
37 PathLine { x: shapePath.startX; y: shapePath.startY }
38 NumberAnimation on dashOffset {
39 running: root.enableAnimation
41 from: shapePath.dashOffset; to: shapePath.dashOffset + shapePath.dashPattern[0] + shapePath.dashPattern[1]
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:56:08 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.