Open CASCADE Technology  7.2.0
Public Member Functions
Aspect_GradientBackground Class Reference

This class allows the definition of a window gradient background. More...

#include <Aspect_GradientBackground.hxx>

Inheritance diagram for Aspect_GradientBackground:
Inheritance graph
[legend]

Public Member Functions

 Aspect_GradientBackground ()
 Creates a window gradient background. Default colors : Quantity_NOC_BLACK. Default fill method : Aspect_GFM_NONE. More...
 
 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>. More...
 
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>. More...
 
void Colors (Quantity_Color &AColor1, Quantity_Color &AColor2) const
 Returns colours of the window gradient background <me>. More...
 
Aspect_GradientFillMethod BgGradientFillMethod () const
 Returns the current gradient background fill mode. More...
 
- Public Member Functions inherited from Aspect_Background
 Aspect_Background ()
 Creates a window background. Default color : NOC_MATRAGRAY. More...
 
 Aspect_Background (const Quantity_Color &AColor)
 Creates a window background with the colour <AColor>. More...
 
void SetColor (const Quantity_Color &AColor)
 Modifies the colour of the window background <me>. More...
 
Quantity_Color Color () const
 Returns the colour of the window background <me>. More...
 

Detailed Description

This class allows the definition of a window gradient background.

Constructor & Destructor Documentation

◆ Aspect_GradientBackground() [1/2]

Aspect_GradientBackground::Aspect_GradientBackground ( )

Creates a window gradient background. Default colors : Quantity_NOC_BLACK. Default fill method : Aspect_GFM_NONE.

◆ Aspect_GradientBackground() [2/2]

Aspect_GradientBackground::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>.

Member Function Documentation

◆ BgGradientFillMethod()

Aspect_GradientFillMethod Aspect_GradientBackground::BgGradientFillMethod ( ) const

Returns the current gradient background fill mode.

◆ Colors()

void Aspect_GradientBackground::Colors ( Quantity_Color AColor1,
Quantity_Color AColor2 
) const

Returns colours of the window gradient background <me>.

◆ SetColors()

void Aspect_GradientBackground::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>.


The documentation for this class was generated from the following file: