MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Basic Type: point

A point type has x and y attributes.

To create a 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) }

See also QML Basic Types.