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

A gradient color stop. More...

Public Member Functions

 ColorStop (double position, const WColor &color)
 Constructor.
 
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
addColorStop()

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