FontOptions.setSubpixelOrder

Sets the subpixel order for the font options object. The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of cairo.types.Antialias.Subpixel. See the documentation for #cairo_subpixel_order_t for full details.

class FontOptions
void
setSubpixelOrder

Parameters

subpixelOrder cairo.types.SubpixelOrder

the new subpixel order