Contents

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 true to allow antialiasing; false otherwise. 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.

See Also

Setting Path Drawing Options