ColorStop Class Reference

#include <Pt/Gfx/Brush.h>

Color stop for a gradient brush.

Public Member Functions

 ColorStop (float position, const Color &color)
 Constructs a color stop.
 
float position () const
 Returns the normalized stop position.
 
const Colorcolor () const
 Returns the stop color.