Kanzi  3.9.5
Java API
Node2D.RenderType Enum Reference

Node2D render type - affects elementary decisions about node rendering. More...

Inheritance diagram for Node2D.RenderType:
[legend]

Public Member Functions

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

Static Public Member Functions

static RenderType toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 Manual =(2)
 Node handles its own rendering.
 
 ManualClipped =(3)
 Node handles its own rendering, but also clips its own content. More...
 
 None =(0)
 Will not render itself except for its children.
 
 Texture =(1)
 Node will render itself as textured quad.
 

Detailed Description

Node2D render type - affects elementary decisions about node rendering.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static RenderType 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.

Member Data Documentation

◆ ManualClipped

ManualClipped =(3)

Node handles its own rendering, but also clips its own content.

This means the node using this will not need additional composition area definitions, and can rendered directly.