— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
The stretch mode is used to determine how an image is displayed within its bounding area.
Mode | Description |
---|---|
STRETCH_SCALE | The image is scaled up or down to fit the entire bounding area. Note that the size and aspect ratio of the image aren't maintained when using this mode, as it's stretched both horizontally and vertically to cover the area. |
STRETCH_TILE | The image is tiled across the entire bounding area. The original size is maintained when using this mode. |
STRETCH_KEEP | |
STRETCH_KEEP_CENTERED | |
STRETCH_KEEP_ASPECT | |
STRETCH_KEEP_ASPECT_CENTERED | |
STRETCH_KEEP_ASPECT_COVERED |