Kanzi framework  3.9.1
Java API
Node2D.ForegroundHint Enum Reference

Hint for foreground handling of nodes. More...

Inheritance diagram for Node2D.ForegroundHint:
[legend]

Public Member Functions

 ForegroundHint (int value)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

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 thus, that background does not need to be rendered.
 
 Translucent =(1)
 Some elements rendered within the node are translucent over the background.
 

Detailed Description

Hint for foreground handling of nodes.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

◆ toEnum()

static ForegroundHint toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.