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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software