Kanzi 3.9.10
NodeEnums.ContentStretch Enum Reference

Content stretch option. More...

Inheritance diagram for NodeEnums.ContentStretch:
[legend]

Public Member Functions

 ContentStretch (ContentStretch enum_)
 Constructs a copy of a ContentStretch object.
 
 ContentStretch (int value)
 Constructs a ContentStretch of an integer value.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static ContentStretch swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static ContentStretch toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

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

Detailed Description

Content stretch option.

Constructor & Destructor Documentation

◆ ContentStretch() [1/2]

ContentStretch ( int value)

Constructs a ContentStretch of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ ContentStretch() [2/2]

Constructs a copy of a ContentStretch object.

Parameters
enum_ContentStretch to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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

Repeat =(4)

Content stretched to fill full area.

If aspect ratios do not match, clip excess area.

◆ UniformToFill

UniformToFill =(3)

Content stretched to fill as much of area as possible.

If aspect ratios do not match, leave area undrawn.