CFx SDK Documentation 2024 SP0
|
#include <GiEnvironment.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiGradientBackgroundTraits) | |
virtual void | setColorTop (const OdCmEntityColor &color)=0 |
virtual OdCmEntityColor | colorTop () const =0 |
virtual void | setColorMiddle (const OdCmEntityColor &color)=0 |
virtual OdCmEntityColor | colorMiddle () const =0 |
virtual void | setColorBottom (const OdCmEntityColor &color)=0 |
virtual OdCmEntityColor | colorBottom () const =0 |
virtual void | setHorizon (double horizon)=0 |
virtual double | horizon () const =0 |
virtual void | setHeight (double height)=0 |
virtual double | height () const =0 |
virtual void | setRotation (double rotation)=0 |
virtual double | rotation () const =0 |
Public Member Functions inherited from OdGiDrawableTraits | |
ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class represents traits that are related to the gradient backgrounds.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1268 of file GiEnvironment.h.
|
pure virtual |
Retrieves a bottom color of this background.
|
pure virtual |
Retrieves a middle color of this background.
|
pure virtual |
Retrieves a top color of this background.
|
pure virtual |
Receives height of the middle color.
|
pure virtual |
Retrieves a position of a middle color relative to top and bottom colors.
OdGiGradientBackgroundTraits::ODRX_DECLARE_MEMBERS | ( | OdGiGradientBackgroundTraits | ) |
|
pure virtual |
Receives rotation of the gradient.
|
pure virtual |
Specifies a bottom color for this background.
color | [in] Bottom color. |
|
pure virtual |
Specifies a middle color for this background.
color | [in] Middle color. |
|
pure virtual |
Specifies a top color for this background.
color | [in] Top color. |
|
pure virtual |
Specifies height of the middle color.
height | [in] Height of the middle color. |
|
pure virtual |
Specifies a position of a middle color relative to top and bottom colors.
horizon | [in] Position of a middle color in range where 0 is the beginning of device coordinate system and 1 is end of of device coordinate system. |
|
pure virtual |
Specifies rotation of the gradient.
rotation | [in] Rotation in degrees. |