Pattern.setDither

void setDither(cairo.types.Dither dither)

Set the dithering 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, only pixman is supported.

Parameters

dithera #cairo_dither_t describing the new dithering mode