Wt  4.0.2
Public Member Functions | List of all members
Wt::WGradient::ColorStop Class Reference

A gradient color stop. More...

#include <WGradient.h>

Public Member Functions

 ColorStop (double position, const WColor &color)
double position () const
 Returns the position.
const WColorcolor () const
 Returns the color.
bool operator== (const ColorStop &other) const
 Comparison operator.
bool operator!= (const ColorStop &other) const
 Comparison operator.

Detailed Description

A gradient color stop.

A color stop is defined by a color and a (relative) position. The interpretation of the position depends on the gradient style.

See also

Generated on Fri Nov 24 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11