FontOptions.setColorMode

Sets the color mode for the font options object. This controls whether color fonts are to be rendered in color or as outlines. See the documentation for #cairo_color_mode_t for full details.

class FontOptions
void
setColorMode

Parameters

colorMode cairo.types.ColorMode

the new color mode