C
PathSvg QML Type
Defines a path using an SVG path data string. More...
Import Statement: | import QtQuick |
Since: | Qt Quick Ultralite 1.8 |
Properties
- path : string
Detailed Description
The following QML produces the path shown below:
Note: To import QtQuick.Shapes
, you must link the Qul::Shapes
module to your project. For more information, see Qt Quick Ultralite Shapes QML Types.
See also Path, PathLine, PathQuad, PathCubic, and PathArc.
Property Documentation
path : string |
The SVG path data string specifying the path.
See W3C SVG Path Data for more details on this format.
Warning: Setting the SVG path to data that has been dynamically loaded from external storage or from the network creates attack vectors against the device.
Qt Quick Ultralite does not validate the SVG path data string. Manipulated data from external storage or from the network can be used to compromise the device.
It is the responsibility of the user to make sure the data loaded from external storage or from the network is valid. This could be achieved by physically sealing off the access to it or cryptographically validating it during the boot phase.
Available under certain Qt licenses.
Find out more.