Pattern.setDither

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.

class Pattern
void
setDither

Parameters

dither cairo.types.Dither

a #cairo_dither_t describing the new dithering mode