Home | All Classes | Grouped Classes | Index | Search

# CL_Surface::set_color

Sets the color.

    	void set_color(
    		float r, float g, float b, float a = 1.0f);

    	void set_color(
    		const CL_Color& c);

Detailed description:

Alpha 0.0f is full transparency, and 1.0f is full visibility (solid).

See also:

CL_Surface | CL_Color

Questions or comments, write to the ClanLib mailing list.