Instance Property

capHeight

The receiver’s cap height information.

Declaration

var capHeight: CGFloat { get }

Discussion

This value measures (in points) the height of a capital character.

See Also

Getting Font Metrics

var pointSize: CGFloat

The receiver’s point size, or the effective vertical point size for a font with a nonstandard matrix.

var ascender: CGFloat

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

var descender: CGFloat

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

var leading: CGFloat

The receiver’s leading information.

var xHeight: CGFloat

The x-height of the receiver.

var lineHeight: CGFloat

The height of text lines (measured in points).