Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

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.


Constructor & Destructor Documentation


Member Function Documentation


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