CrystalSpace

Public API Reference

csGradientShade Struct Reference

An entry in an iGradient gradient. More...

#include <ivaria/gradient.h>

List of all members.

Public Member Functions

 csGradientShade (const csColor &color, float pos)
 Construct using a color and position.
 csGradientShade (const csColor4 &color, float pos)
 Construct using a color and position.
 csGradientShade (const csColor &left_color, const csColor &right_color, float pos)
 Construct supplying all values.
 csGradientShade (const csColor4 &left_color, const csColor4 &right_color, float pos)
 Construct supplying all values.
 csGradientShade ()
 Construct with all values set to 0.

Public Attributes

csColor4 left
 Color of the left side.
float position
 Position in the gradient.
csColor4 right
 Color of the right side.

Detailed Description

An entry in an iGradient gradient.

Definition at line 36 of file gradient.h.


Constructor & Destructor Documentation

csGradientShade::csGradientShade (  )  [inline]

Construct with all values set to 0.

Definition at line 46 of file gradient.h.

csGradientShade::csGradientShade ( const csColor4 left_color,
const csColor4 right_color,
float  pos 
) [inline]

Construct supplying all values.

Definition at line 50 of file gradient.h.

csGradientShade::csGradientShade ( const csColor left_color,
const csColor right_color,
float  pos 
) [inline, explicit]

Construct supplying all values.

Definition at line 53 of file gradient.h.

csGradientShade::csGradientShade ( const csColor4 color,
float  pos 
) [inline]

Construct using a color and position.

Both left and right will have the value of color.

Definition at line 61 of file gradient.h.

csGradientShade::csGradientShade ( const csColor color,
float  pos 
) [inline, explicit]

Construct using a color and position.

Both left and right will have the value of color.

Definition at line 67 of file gradient.h.


Member Data Documentation

Color of the left side.

Definition at line 39 of file gradient.h.

Position in the gradient.

Definition at line 43 of file gradient.h.

Color of the right side.

Definition at line 41 of file gradient.h.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1