h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <BasicStrokeShaders.h>
Inheritance diagram for IncreasingColorShader:
Public Member Functions | |
IncreasingColorShader (float iRm, float iGm, float iBm, float iAlpham, float iRM, float iGM, float iBM, float iAlphaM) | |
virtual void | shade (Stroke &stroke) const |
IncreasingColorShader | ( | float | iRm, | |
float | iGm, | |||
float | iBm, | |||
float | iAlpham, | |||
float | iRM, | |||
float | iGM, | |||
float | iBM, | |||
float | iAlphaM | |||
) | [inline] |
Builds the shader from 2 user-specified colors.
iRm | The first color red component | |
iGm | The first color green component | |
iBm | The first color blue component | |
iAlpham | The first color alpha value | |
iRM | The second color red component | |
iGM | The second color green component | |
iBM | The second color blue component | |
iAlphaM | The second color alpha value |
virtual void shade | ( | Stroke & | stroke | ) | const [virtual] |
The shading method.
Reimplemented from StrokeShader.