Instance Property

ascender

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

Declaration

var ascender: CGFloat { get }

Discussion

The ascender value is measured in points.

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 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 capHeight: CGFloat

The receiver’s cap height information.

var xHeight: CGFloat

The x-height of the receiver.

var lineHeight: CGFloat

The height of text lines (measured in points).