Kanzi  3.9.9
Kanzi Engine Java API
KzuViewportCoordinateType Enum Reference

Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window) More...

Inheritance diagram for KzuViewportCoordinateType:
[legend]

Public Member Functions

 KzuViewportCoordinateType (int value)
 Constructs a KzuViewportCoordinateType of an integer value. More...
 
 KzuViewportCoordinateType (KzuViewportCoordinateType enum_)
 Constructs a copy of a KzuViewportCoordinateType 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 KzuViewportCoordinateType swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant. More...
 
static KzuViewportCoordinateType toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 KZU_VIEWPORT_COORDINATE_ABSOLUTE =(0)
 Absolute viewport coordinates, i.e. More...
 
 KZU_VIEWPORT_COORDINATE_RELATIVE =(1)
 Relative viewport coordinates, i.e. More...
 

Detailed Description

Enumeration for viewport coordinate unit type (exact pixel coordinates / percentages from window)

Constructor & Destructor Documentation

KzuViewportCoordinateType ( int  value)

Constructs a KzuViewportCoordinateType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a KzuViewportCoordinateType object.

Parameters
enum_KzuViewportCoordinateType to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static KzuViewportCoordinateType swigToEnum ( int  swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static KzuViewportCoordinateType 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

KZU_VIEWPORT_COORDINATE_ABSOLUTE =(0)

Absolute viewport coordinates, i.e.

pixel values.

KZU_VIEWPORT_COORDINATE_RELATIVE =(1)

Relative viewport coordinates, i.e.

percentages of render target width & height.