Determines how an image (of a
/ImageButton) is scaled.
Below is an example of the Stretch, Fit, and Crop ScaleTypes:
The image is stretched to fit within the element.
The part of the image contained within the
The image is is tiled to fit within the element. For example, if the element is twice the X dimension of the image, the image will appear twice (2 tiles).
The image is scaled fit within the element X or Y dimension (whichever fits first).
The image is cropped to fit within the element.