TextMetrics
classin packageklyn.gui.windows
public class TextMetrics:
Result of `Painter.measureText`.
metrics = TextMetrics(64.0, 9.0, 3.0, 12.0)
print(metrics.width)
Properties
| Modifier and Type |
Member |
Description |
| public property |
ascent |
Estimated ascent. |
| public property |
descent |
Estimated descent. |
| public property |
height |
Estimated total height. |
| public property |
width |
Estimated text width. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
TextMetrics |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
toString |
No summary. |