TBLFontMetrics
Scaled TBLFontDesignMetrics based on font size and other properties.
Definition
Unit: Blend2D
See Also
Properties
| Name | Description |
|---|---|
| Ascent | Font ascent (horizontal orientation). |
| CapHeight | Maximum height of a capital letter above the baseline. |
| Descent | Font descent (horizontal orientation). |
| LineGap | Line gap. |
| Size | Font size. |
| StrikethroughPosition | Text strikethrough position. |
| StrikethroughThickness | Text strikethrough thickness. |
| UnderlinePosition | Text underline position. |
| UnderlineThickness | Text underline thickness. |
| VAscent | Font ascent (vertical orientation). |
| VDescent | Font descent (vertical orientation). |
| XHeight | Distance between the baseline and the mean line of lower-case letters. |
| XMax | Maximum X, reported by the font. |
| XMin | Minimum X, reported by the font. |
| YMax | Maximum Y, reported by the font. |
| YMin | Minimum Y, reported by the font. |
Methods
| Name | Description |
|---|---|
| Reset |
Property Descriptions
Ascent
Font ascent (horizontal orientation).
property Ascent: Single read FAscent
Type: Single
CapHeight
Maximum height of a capital letter above the baseline.
property CapHeight: Single read FCapHeight
Type: Single
Descent
Font descent (horizontal orientation).
property Descent: Single read FDescent
Type: Single
LineGap
Line gap.
property LineGap: Single read FLineGap
Type: Single
Size
Font size.
property Size: Single read FSize
Type: Single
StrikethroughPosition
Text strikethrough position.
property StrikethroughPosition: Single read FStrikethroughPosition
Type: Single
StrikethroughThickness
Text strikethrough thickness.
property StrikethroughThickness: Single read FStrikethroughThickness
Type: Single
UnderlinePosition
Text underline position.
property UnderlinePosition: Single read FUnderlinePosition
Type: Single
UnderlineThickness
Text underline thickness.
property UnderlineThickness: Single read FUnderlineThickness
Type: Single
VAscent
Font ascent (vertical orientation).
property VAscent: Single read FVAscent
Type: Single
VDescent
Font descent (vertical orientation).
property VDescent: Single read FVDescent
Type: Single
XHeight
Distance between the baseline and the mean line of lower-case letters.
property XHeight: Single read FXHeight
Type: Single
XMax
Maximum X, reported by the font.
property XMax: Single read FXMax
Type: Single
XMin
Minimum X, reported by the font.
property XMin: Single read FXMin
Type: Single
YMax
Maximum Y, reported by the font.
property YMax: Single read FYMax
Type: Single
YMin
Minimum Y, reported by the font.
property YMin: Single read FYMin
Type: Single
Method Descriptions
Reset
procedure Reset; inline