Context.setAntialias

Set the antialiasing mode of the rasterizer used for drawing shapes. This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports cairo.types.Antialias.Subpixel when drawing shapes.

Note that this option does not affect text rendering, instead see cairo.font_options.FontOptions.setAntialias.

class Context
void
setAntialias

Parameters

antialias cairo.types.Antialias

the new antialiasing mode