class Blend2D::Text::FontMetrics
- Blend2D::Text::FontMetrics
- Reference
- Object
Defined in:
blend2d/text/font_metrics.crConstructors
-
.new(font : Font)
Initialized this
FontMetrics
object such that it pulls its data from aFont
.
Instance Method Summary
-
#ascent
The font ascent in a horizontal orientation.
-
#capital_height
The maximum height of a capital letter above the baseline.
-
#descent
The font descent in a horizontal orientation.
-
#line_gap
The line gap of the font.
-
#lower_height
The distance between the baseline and the mean line of lower-case characters.
-
#size
The font size.
-
#strikethrough_position
The strikethrough position.
-
#strikethrough_thickness
The strikethrough thickness.
-
#underline_position
The underline position.
-
#underline_thickness
The underline thickness.
-
#vertical_ascent
The font ascent in a vertical orientation.
-
#vertical_descent
The font descent in a vertical orientation.
Constructor Detail
Initialized this FontMetrics
object such that it pulls its data from a Font
.