#include <GiEnvironmentTraitsData.h>
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 152 of file GiEnvironmentTraitsData.h.
◆ OdGiGradientBackgroundTraitsData()
OdGiGradientBackgroundTraitsData::OdGiGradientBackgroundTraitsData |
( |
| ) |
|
|
inline |
◆ colorBottom()
◆ colorMiddle()
◆ colorTop()
◆ height()
double OdGiGradientBackgroundTraitsData::height |
( |
| ) |
const |
|
inline |
◆ horizon()
double OdGiGradientBackgroundTraitsData::horizon |
( |
| ) |
const |
|
inline |
Retrieves a position of a middle color relative to top and bottom colors.
- Returns
- horizon that represents position of a middle color relative to top and bottom colors.
Definition at line 220 of file GiEnvironmentTraitsData.h.
◆ operator!=()
Checks whether the passed traits for gradient backgrounds are not equal to these traits. Traits are considered not equal if one of the following conditions fails: Top colors are equal; Middle colors are equal; Bottom colors are equal; Horizons are equal; Horizon heights are equal; Rotations are equal.
- Parameters
-
data2 | [in] Background traits to compare. |
- Returns
- true if background traits are not equal, false otherwise.
Definition at line 315 of file GiEnvironmentTraitsData.h.
◆ operator==()
Checks whether the passed traits for gradient backgrounds are equal to these traits. Traits are considered equal if: Top colors are equal; Middle colors are equal; Bottom colors are equal; Horizons are equal; Horizon heights are equal; Rotations are equal.
- Parameters
-
data2 | [in] Background traits to compare. |
- Returns
- true if background traits are equal, false otherwise.
Definition at line 289 of file GiEnvironmentTraitsData.h.
◆ rotation()
double OdGiGradientBackgroundTraitsData::rotation |
( |
| ) |
const |
|
inline |
Receives rotation of the gradient.
- Returns
- degrees of counter clock-wise gradient rotation.
Definition at line 236 of file GiEnvironmentTraitsData.h.
◆ setColorBottom()
◆ setColorMiddle()
◆ setColorTop()
◆ setHeight()
void OdGiGradientBackgroundTraitsData::setHeight |
( |
double |
value | ) |
|
|
inline |
Specifies height of the middle color.
- Parameters
-
height | [in] Height of the middle color. |
Definition at line 259 of file GiEnvironmentTraitsData.h.
◆ setHorizon()
void OdGiGradientBackgroundTraitsData::setHorizon |
( |
double |
value | ) |
|
|
inline |
Specifies a position of a middle color relative to top and bottom colors.
- Parameters
-
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. |
Definition at line 248 of file GiEnvironmentTraitsData.h.
◆ setRotation()
void OdGiGradientBackgroundTraitsData::setRotation |
( |
double |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: