enum
ImageScaleMode
Specifies how a parent element renders an image based on the aspect ratio of the image and the parent element itself.
Related Articles
Fields
| Name | Description | 
|---|---|
| Envelope | As the parent's size changes, the image scale will adjust automatically to ensure the image maximally fills its parent container. Preserves the image's native aspect ratio (unstretched).  | 
      
| Fit | As the parent's size changes, the image scale will adjust automatically to ensure the full image fits within its parent container. Preserves the image's native aspect ratio (unstretched).  | 
      
| Manual | No automatic adjustment is made to the image's scale. If the aspect ratio of the parent element and image do not match, the image will stretch.  | 
      
| Sliced | The image will be displayed as a 9-sliced sprite.  | 
      
| Tiled | The image will be displayed as a 9-sliced sprite with the sections being tiled instead of stretched.  |