Instance Property

descender

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

Declaration

var descender: CGFloat { get }

Discussion

The descender value is measured in points. This value may be positive or negative. For example, if the longest descender extends 2 points below the baseline, this method returns -2.0 .

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 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).