Open CASCADE Technology 6.5.2
Public Member Functions
Aspect_GradientBackground Class Reference

This class allows the definition of
a window gradient background.

#include <Aspect_GradientBackground.hxx>

Inheritance diagram for Aspect_GradientBackground:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 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.


Constructor & Destructor Documentation

Aspect_GradientBackground::Aspect_GradientBackground ( )
Aspect_GradientBackground::Aspect_GradientBackground ( const Quantity_Color AColor1,
const Quantity_Color AColor2,
const Aspect_GradientFillMethod  AMethod = Aspect_GFM_HOR 
)

Member Function Documentation

Aspect_GradientFillMethod Aspect_GradientBackground::BgGradientFillMethod ( ) const
void Aspect_GradientBackground::Colors ( Quantity_Color AColor1,
Quantity_Color AColor2 
) const
void Aspect_GradientBackground::operator delete ( void *  anAddress) [inline]

Reimplemented from Aspect_Background.

void* Aspect_GradientBackground::operator new ( size_t  size) [inline]

Reimplemented from Aspect_Background.

void* Aspect_GradientBackground::operator new ( size_t  ,
void *  anAddress 
) [inline]

Reimplemented from Aspect_Background.

void Aspect_GradientBackground::SetColors ( const Quantity_Color AColor1,
const Quantity_Color AColor2,
const Aspect_GradientFillMethod  AMethod = Aspect_GFM_HOR 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines