Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseImage Type.
Controls how to display the Image.
Simple | Stretches the image uniformly inside the rectangle. |
Sliced | Stretches the center part of the image that is inside the borders, while the border areas maintain their thickness. |
Tiled | Tiles the center part of the image that is inside the borders. |
Filled | Stretches the image uniformly inside the rectangle and shows only a portion of the image. |