Instance Property


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


var imageInterpolation: NSImageInterpolation { get set }


Note that this value is not part of the graphics state, so it cannot be reset using 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.

enum NSImageInterpolation

Interpolations used by the imageInterpolation property.

var shouldAntialias: Bool

A Boolean value indicating whether the receiver uses antialiasing.

var patternPhase: NSPoint

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