Contents

underlinePosition

The baseline offset to use when drawing underlines with the font.

Declaration

var underlinePosition: CGFloat { get }

Discussion

The value in this property is determined by the font’s AFM file. The value is usually negative, which must be considered when drawing in a flipped coordinate system.

See Also

Getting Underline and Italic Metrics