Enum VisualFittingModeType

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
5

The values of this enum determine how the visual should fit into the view.

C#
Copy
public enum VisualFittingModeType : int
Name Description
Center

The visual should keep original size of image. it is not scaled and not stretched.

Fill

The visual should be stretched to fill, not preserving aspect ratio.

FitHeight

The visual should be scaled to fit, preserving aspect ratio. Height is scaled proportionately to maintain aspect ratio.

FitKeepAspectRatio

The visual should be scaled to fit, preserving aspect ratio.

FitWidth

The visual should be scaled to fit, preserving aspect ratio. WIDTH is scaled proportionately to maintain aspect ratio.

OverFitKeepAspectRatio

The visual should be scaled to fit, preserving aspect ratio. The visual will be filled without empty area, and outside is cropped away.

Extension Methods