PathCubic QML Element

The PathCubic defines a cubic Bezier curve with two control points. More...

Since: Qt 4.7

Properties

Detailed Description

The following QML produces the path shown below:

Path {
    startX: 20; startY: 0
    PathCubic {
        x: 180; y: 0
        control1X: -10; control1Y: 90
        control2X: 210; control2Y: 90
    }
}

See also Path, PathQuad, and PathLine.

Property Documentation

control1X : real

Defines the position of the first control point.


control1Y : real

Defines the position of the first control point.


control2X : real

Defines the position of the second control point.


control2Y : real

Defines the position of the second control point.


x : real

Defines the end point of the curve.


y : real

Defines the end point of the curve.


© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.