Qt Reference Documentation

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.


Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();