Kanzi  3.9.8
Kanzi Engine Java API
NodeEnums.ContentStretch Enum Reference

Content stretch option. More...

Inheritance diagram for NodeEnums.ContentStretch:
[legend]

Public Member Functions

 ContentStretch (int mValue)
 
 ContentStretch (ContentStretch enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static ContentStretch swigToEnum (int swigValue)
 
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.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.