Instance Property


Returns the current level of interpolation quality for a graphics context.


var interpolationQuality: CGInterpolationQuality { get set }



The graphics context to examine.

Return Value

The current level of interpolation quality.


Interpolation quality is a graphics state parameter that provides a hint for the level of quality to use for image interpolation (for example, when scaling the image). Not all contexts support all interpolation quality levels.

See Also

Drawing Images and PDF Content

func draw(CGImage, in: CGRect, byTiling: Bool)

Draws an image in the specified area.

func drawPDFPage(CGPDFPage)

Draws the content of a PDF page into the current graphics context.

enum CGInterpolationQuality

Levels of interpolation quality for rendering an image.