Renderer.setColor

void setColor(pango.types.RenderPart part, pango.color.Color color)

Sets the color for part of the rendering.

Also see [pango.renderer.Renderer.setAlpha].

Parameters

partthe part to change the color of
colorthe new color or null to unset the current color