setAllowsAntialiasing(_:)
Sets whether or not to allow antialiasing for a graphics context.
Declaration
func setAllowsAntialiasing(_ allowsAntialiasing: Bool)Parameters
- allowsAntialiasing:
A Boolean value that specifies whether or not to allow antialiasing. Pass
trueto allow antialiasing;falseotherwise. This parameter is not part of the graphics state.
Discussion
Core Graphics performs antialiasing for a graphics context if both the allowsAntialiasing parameter and the graphics state parameter shouldAntialias are true.
This parameter is not part of the graphics state.