Renderer.setColor

Sets the color for part of the rendering.

Also see pango.renderer.Renderer.setAlpha.

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