func firstBaseline (in: CGSize) -> CGFloat
Gets the distance from the first line’s ascender to its baseline.
func lastBaseline (in: CGSize) -> CGFloat
Gets the distance from the first line’s ascender to the last line’s baseline.
func measure(in: CGSize) -> CGSize
Measures the size of the resolved text for a given area into which the text should be placed.
var shading: GraphicsContext .Shading
The shading to fill uncolored text regions with.