Contents

setShouldAntialias(_:)

Sets antialiasing on or off for a graphics context.

Declaration

func setShouldAntialias(_ shouldAntialias: Bool)

Parameters

  • shouldAntialias:

    A Boolean value that specifies whether antialiasing should be turned on. Antialiasing is turned on by default when a window or bitmap context is created. It is turned off for other types of contexts.

Discussion

Antialiasing is a graphics state parameter.

See Also

Setting Path Drawing Options