Hint for foreground handling of nodes. More...
Public Member Functions | |
ForegroundHint (int value) | |
Constructs a ForegroundHint of an integer value. More... | |
ForegroundHint (ForegroundHint enum_) | |
Constructs a copy of a ForegroundHint object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static ForegroundHint | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static ForegroundHint | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
None =(0) | |
No hint given, assumed the background of a node can be rendered after content. | |
Opaque =(2) | |
Node content is assumed to be fully opaque, meaning that there is no need to render the background. | |
Translucent =(1) | |
Some elements rendered within the node are translucent over the background. | |
Hint for foreground handling of nodes.
ForegroundHint | ( | int | value | ) |
Constructs a ForegroundHint of an integer value.
value | Integer value to convert to enumeration constant. |
ForegroundHint | ( | ForegroundHint | enum_ | ) |
Constructs a copy of a ForegroundHint object.
enum_ | ForegroundHint to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |