Tizen Native API
6.0
|
Fitting options, used when resizing images to fit desired dimensions. More...
Enumerations | |
enum | Type |
Enumeration for FittingMode type. More... | |
Variables | |
const Type | DEFAULT = SHRINK_TO_FIT |
TOP_LEFT. |
Detailed Description
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.
- Since:
- 3.0, DALi version 1.0.0
Enumeration Type Documentation
Enumeration for FittingMode type.
- Since:
- 3.0, DALi version 1.0.0
- Enumerator:
SHRINK_TO_FIT Fit full image inside desired width & height, potentially not filling one of either the desired image width or height with pixels.
- Since:
- 3.0, DALi version 1.0.0
SCALE_TO_FILL Image fills whole desired width & height with image data. The image is centred in the desired dimensions, exactly touching in one dimension, with image regions outside the other desired dimension cropped away.
- Since:
- 3.0, DALi version 1.0.0
FIT_WIDTH Image fills whole width. Height is scaled proportionately to maintain aspect ratio.
- Since:
- 3.0, DALi version 1.0.0
FIT_HEIGHT Image fills whole height. Width is scaled proportionately to maintain aspect ratio.
- Since:
- 3.0, DALi version 1.0.0
Variable Documentation
TOP_LEFT.
CENTER.