Context.setAntialias
void setAntialias(cairo.types.Antialias antialias)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].
Parameters
antialias | the new antialiasing mode |