| Simple++
    Powerfull and lightning fast C++ Library | 
A point in a gradient C Type for one color. More...
#include <Gradient.h>
| Public Member Functions | |
| GradientPoint (float position, const C &color) | |
| Create a Point for a Gradient initialized with a position and a color.  More... | |
| void | setPosition (float position) | 
| set the position of this point.  More... | |
| float | getPosition () const | 
| get the Position of this point  More... | |
| void | setColor (const C &color) | 
| set the color of this point  More... | |
| const C & | getColor () const | 
| get the color of this point  More... | |
A point in a gradient C Type for one color.
| Graphic::GradientPoint< C >::GradientPoint | ( | float | position, | 
| const C & | color | ||
| ) | 
Create a Point for a Gradient initialized with a position and a color.
| position | Floating number between 0 and 1 representing the position on the gradient. | 
| color | Color of this point. | 
| const C & Graphic::GradientPoint< C >::getColor | ( | ) | const | 
get the color of this point
| float Graphic::GradientPoint< C >::getPosition | ( | ) | const | 
get the Position of this point
| void Graphic::GradientPoint< C >::setColor | ( | const C & | color | ) | 
set the color of this point
| color | new color. | 
| void Graphic::GradientPoint< C >::setPosition | ( | float | position | ) | 
set the position of this point.
| position | new position. | 
 1.8.11
 1.8.11