Instance Property


A Boolean value indicating whether the receiver uses antialiasing.


var shouldAntialias: Bool { get set }


true if the receiver uses antialiasing. This value is part of the graphics state and is restored by restoreGraphicsState().

See Also

Configuring Rendering Options

var compositingOperation: NSCompositingOperation

The receiver’s global compositing operation setting.

enum NSCompositingOperation

Compositing operators, described in terms of having source and destination images, each having an opaque and transparent region.

var imageInterpolation: NSImageInterpolation

A constant that specifies the receiver’s interpolation (image smoothing) behavior.

enum NSImageInterpolation

Interpolations used by the imageInterpolation property.

var patternPhase: NSPoint

The amount to offset the pattern color when filling the receiver.