Enum FittingModeType

Definition

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

This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.
A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.
All fitting modes preserve the aspect ratio of the image contents.

C#
Copy
public enum FittingModeType
Name Description
FitHeight

Image rows: Limit loaded image resolution to row height using the FitHeight mode.

FitWidth

Image columns: Limit loaded image resolution to column width using the FitWidth mode.

ScaleToFill

Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.

ShrinkToFit

Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.