point QML Basic Type
A point type has x and y attributes.
A
point
类型拥有
x
and
y
属性。
要创建
point
value, specify it as a "x,y" string:
CustomObject { myPointProperty: "0,20" }
Or use the Qt.point() function:
CustomObject { myPointProperty: Qt.point(0, 20) }
另请参阅
QML 基本类型
.