Kanzi  3.9.9
Kanzi Engine Java API
NodeEnums.ContentStretch Enum Reference

Content stretch option. More...

Inheritance diagram for NodeEnums.ContentStretch:
[legend]

Public Member Functions

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

Public Attributes

 Fill =(1)
 Content is displayed unstretched in the middle of area.
 
 None =(0)
 
 Repeat =(4)
 Content stretched to fill full area. More...
 
 Uniform =(2)
 Content encompasses full area.
 
 UniformToFill =(3)
 Content stretched to fill as much of area as possible. More...
 

Detailed Description

Content stretch option.

Constructor & Destructor Documentation

ContentStretch ( int  value)

Constructs a ContentStretch of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a ContentStretch object.

Parameters
enum_ContentStretch to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static ContentStretch 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 ContentStretch 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

Repeat =(4)

Content stretched to fill full area.

If aspect ratios do not match, clip excess area.

UniformToFill =(3)

Content stretched to fill as much of area as possible.

If aspect ratios do not match, leave area undrawn.