CLEAR

ScalingOption


The ScalingOption enum describes how an element is scaled.

Scope: SceneModule

Values

ValueDescription

FILL

Indicates that the resource is is tiled to fill the container.

FIT

Indicates that the resource is scaled proportionately such that the larger dimension, height or width, matches the size of the container.

FIT_HEIGHT

Indicates that the resource is scaled proportionately to match the height of the container.

FIT_WIDTH

Indicates that the resource is scaled proportionately to match the width of the container.

IGNORE

Indicates that no scaling is applied to the element.

STRETCH

Indicates that the resource is stretched in the height and width dimensions to fill the container.