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 基本類型
.