The Power in your Hands
Search Site:
About
Features
Documentation
Download
Community
Main
Class Index
Namespaces
Modules
Pt
Gfx
ColorStop
Public Member Functions
ColorStop Class Reference
Drawing Graphics and Text
#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
Color
&
color
() const
Returns the stop color.