Warning, file /include/opencascade/Aspect_GradientBackground.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _Aspect_GradientBackground_HeaderFile
0017 #define _Aspect_GradientBackground_HeaderFile
0018
0019 #include <Aspect_GradientFillMethod.hxx>
0020 #include <Aspect_Background.hxx>
0021
0022
0023 class Aspect_GradientBackground : public Aspect_Background
0024 {
0025 public:
0026
0027 DEFINE_STANDARD_ALLOC
0028
0029
0030
0031
0032 Standard_EXPORT Aspect_GradientBackground();
0033
0034
0035 Standard_EXPORT Aspect_GradientBackground (const Quantity_Color& theColor1,
0036 const Quantity_Color& theColor2,
0037 const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal);
0038
0039
0040 Standard_EXPORT void SetColors (const Quantity_Color& theColor1,
0041 const Quantity_Color& theColor2,
0042 const Aspect_GradientFillMethod theMethod = Aspect_GradientFillMethod_Horizontal);
0043
0044
0045 Standard_EXPORT void Colors (Quantity_Color& theColor1, Quantity_Color& theColor2) const;
0046
0047
0048 Standard_EXPORT Aspect_GradientFillMethod BgGradientFillMethod() const;
0049
0050
0051 Standard_EXPORT void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const;
0052
0053 private:
0054
0055 Quantity_Color MyColor2;
0056 Aspect_GradientFillMethod MyGradientMethod;
0057
0058 };
0059
0060 #endif