Enables or disables font smoothing in a graphics context.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
A Boolean value that specifies whether to enable font smoothing.
There are cases, such as rendering to a bitmap, when font smoothing is not appropriate and should be disabled. Note that some contexts (such as PostScript contexts) do not support font smoothing.
This parameter is part of the graphics state. Because of this, you use this when you want to temporarily override this setting in a drawing method.