User Tools

Site Tools


stretch_mode

This is an old revision of the document!


Stretch Mode


The stretch mode is used to determine how an image is displayed within its bounding area.

ModeDescription
STRETCH_SCALEThe 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_TILEThe image is tiled across the entire bounding area. The image's original dimensions are maintained when using this mode.
STRETCH_KEEPThe image is displayed in the top left corner of the bounding area, with its original dimensions maintained.
STRETCH_KEEP_CENTERED
STRETCH_KEEP_ASPECT
STRETCH_KEEP_ASPECT_CENTERED
STRETCH_KEEP_ASPECT_COVERED
stretch_mode.1707450213.txt.gz · Last modified: 2024/02/08 19:43 by justin