CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csGradientShade Struct Reference

An entry in a csGradient gradient. More...

#include <gradient.h>

List of all members.

Public Methods

 csGradientShade ()
 Construct with all values set to 0.

 csGradientShade (csColor left_color, csColor right_color, float pos)
 Construct supplying all values.

 csGradientShade (csColor color, float pos)
 Construct using a color and position.


Public Attributes

csColor left
 Color of the left side.

csColor right
 Color of the right side.

float position
 Position in the gradient.


Detailed Description

An entry in a csGradient gradient.

Definition at line 38 of file gradient.h.


Constructor & Destructor Documentation

csGradientShade::csGradientShade  
 

Construct with all values set to 0.

csGradientShade::csGradientShade csColor    left_color,
csColor    right_color,
float    pos
 

Construct supplying all values.

csGradientShade::csGradientShade csColor    color,
float    pos
 

Construct using a color and position.

Both left and right will have the value of color.


Member Data Documentation

csColor csGradientShade::left
 

Color of the left side.

Definition at line 41 of file gradient.h.

float csGradientShade::position
 

Position in the gradient.

Definition at line 45 of file gradient.h.

csColor csGradientShade::right
 

Color of the right side.

Definition at line 43 of file gradient.h.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18