ScaleType
Overview
ScaleType is an Enum that defines how an image is scaled to fit the size of a UI element.
This is used in the ScaleType property of ImageLabel and ImageButton, and determines whether the image is stretched to fit the element or divided into nine regions.
Items
Name
Value
Description
Stretch
0
Stretches the image to fit the element.
Slice
1
Divides the image into nine regions and applies a different scaling rule to each region.
See also
ImageLabelImageButtonLast updated