PathPolyline QML Type
Defines a polyline through a list of coordinates. More...
Import Statement: | import QtQuick 2.14 |
Since: | QtQuick 2.14 |
Properties
Detailed Description
The example below creates a triangular path consisting of four vertices on the edge of the containing Shape's bounding box. Through the containing shape's scale property, the path will be rescaled together with its containing shape.
PathPolyline { id: ppl path: [ Qt.point(0.0, 0.0), Qt.point(1.0, 0.0), Qt.point(0.5, 1.0), Qt.point(0.0, 0.0) ] }
See also Path, PathQuad, PathCubic, PathArc, PathAngleArc, PathCurve, PathSvg, PathMove, and PathPolyline.
Property Documentation
start : point |
This read-only property contains the beginning of the polyline.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.