Kanzi  3.9.6
Java API
Node2D.PixelFormat Enum Reference

Pixel formats. More...

Inheritance diagram for Node2D.PixelFormat:
[legend]

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

 Rgb =(0)
 Managed render targets use RGB format.
 
 Rgba =(1)
 Managed render targets use RGBA format.
 

Detailed Description

Pixel formats.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

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