TextMetrics QML Type
Provides a Context2D TextMetrics interface More...
Import Statement: | import QtQuick 2.2 |
Since: | Qt 5.0 |
Properties
- width : int
Detailed Description
The TextMetrics object can be created by QtQuick::Context2D::measureText method. See W3C 2d context TexMetrics for more details.
See also Context2D::measureText and width.
Property Documentation
Holds the advance width of the text that was passed to the QtQuick::Context2D::measureText() method. This property is read only.