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 ConstantColorShader:
Public Member Functions | |
ConstantColorShader (float iR, float iG, float iB, float iAlpha=1.f) | |
virtual string | getName () const |
virtual void | shade (Stroke &stroke) const |
|
Builds the shader from a user-specified color.
|
|
Returns the string corresponding to the shader's name. Reimplemented from StrokeShader. |
|
The shading method. Reimplemented from StrokeShader. |