PathCubic QML Element

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

Since: Qt 4.7

特性

详细描述

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
    }
}
								

另请参阅 路径 , PathQuad ,和 PathLine .

特性文档编制

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.