set_color


Description:

public void set_color (Color color)

Sets the basic color of the pipeline, used when no lighting is enabled.

Note that if you don't add any layers to the pipeline then the color will be blended unmodified with the destination; the default blend expects premultiplied colors: for example, use (0.5, 0.0, 0.0, 0.5) for semi-transparent red. See premultiply.

The default value is (1.0, 1.0, 1.0, 1.0)

Parameters:

this

A Pipeline object

color

The components of the color