Renderer.setColor

Sets the color for part of the rendering.

Also see pango.renderer.Renderer.setAlpha.

class Renderer
void
setColor

Parameters

part pango.types.RenderPart

the part to change the color of

color pango.color.Color

the new color or null to unset the current color