class

Blend2D::Text::FontMetrics

Inherits Reference < Object

Constructors

new(font : Font)

Initialized this FontMetrics object such that it pulls its data from a Font.

Source

Instance methods

ascent

The font ascent in a horizontal orientation.

Source
capital_height

The maximum height of a capital letter above the baseline.

Source
descent

The font descent in a horizontal orientation.

Source
line_gap

The line gap of the font.

Source
lower_height

The distance between the baseline and the mean line of lower-case characters.

Source
size

The font size.

Source
strikethrough_position

The strikethrough position.

Source
strikethrough_thickness

The strikethrough thickness.

Source
underline_position

The underline position.

Source
underline_thickness

The underline thickness.

Source
vertical_ascent

The font ascent in a vertical orientation.

Source
vertical_descent

The font descent in a vertical orientation.

Source