Instance Property

xHeight

The x-height of the font.

Declaration

var xHeight: CGFloat { get }

See Also

Getting the Font Metrics

var ascender: CGFloat

The top y-coordinate, offset from the baseline, of the font’s longest ascender.

var descender: CGFloat

The bottom y-coordinate, offset from the baseline, of the font’s longest descender.

var capHeight: CGFloat

The cap height of the font.

var leading: CGFloat

The leading value of the font.