Open CASCADE Technology
6.5.4
|
This class allows the definition of
a window gradient background.
#include <Aspect_GradientBackground.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | Aspect_GradientBackground () |
Creates a window gradient background. Default colors : Quantity_NOC_BLACK. Default fill method : Aspect_GFM_NONE | |
Aspect_GradientBackground (const Quantity_Color &AColor1, const Quantity_Color &AColor2, const Aspect_GradientFillMethod AMethod=Aspect_GFM_HOR) | |
Creates a window gradient background with colours <AColor1, AColor2>. | |
void | SetColors (const Quantity_Color &AColor1, const Quantity_Color &AColor2, const Aspect_GradientFillMethod AMethod=Aspect_GFM_HOR) |
Modifies the colours of the window gradient background <me>. | |
void | Colors (Quantity_Color &AColor1, Quantity_Color &AColor2) const |
Returns colours of the window gradient background <me>. | |
Aspect_GradientFillMethod | BgGradientFillMethod () const |
Returns the current gradient background fill mode. |
Aspect_GradientBackground::Aspect_GradientBackground | ( | const Quantity_Color & | AColor1, |
const Quantity_Color & | AColor2, | ||
const Aspect_GradientFillMethod | AMethod = Aspect_GFM_HOR |
||
) |
void Aspect_GradientBackground::Colors | ( | Quantity_Color & | AColor1, |
Quantity_Color & | AColor2 | ||
) | const |
void Aspect_GradientBackground::SetColors | ( | const Quantity_Color & | AColor1, |
const Quantity_Color & | AColor2, | ||
const Aspect_GradientFillMethod | AMethod = Aspect_GFM_HOR |
||
) |