PathLine QML Element

The PathLine defines a straight line. 更多...

Since: Qt 4.7

特性

详细描述

The example below creates a path consisting of a straight line from 0,100 to 200,100:

Path {
    startX: 0; startY: 100
    PathLine { x: 200; y: 100 }
}
					

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

特性文档编制

x : real

Defines the end point of the line.


y : real

Defines the end point of the line.