Instance Property

allowsFontSubpixelQuantization

Determines whether to allow subpixel quantization for the graphics context used for text rendering.

Declaration

var allowsFontSubpixelQuantization: Bool { get set }

Discussion

When enabled, the graphics context used for text rendering may quantize the subpixel positions of glyphs.

See Also

Text Visual Properties

var font: CFTypeRef?

The font used to render the receiver’s text.

var fontSize: CGFloat

The font size used to render the receiver’s text. Animatable.

var foregroundColor: CGColor?

The color used to render the receiver’s text. Animatable.