Enum Image.FillMethod
The possible fill method types for a Filled Image.
Namespace: UnityEngine.UI
Syntax
public enum FillMethod
Fields
Name | Description | Value |
---|---|---|
Horizontal | The Image will be filled Horizontally. The Image will be Cropped at either left or right size depending on Image.fillOriging at the Image.fillAmount |
0 |
Vertical | The Image will be filled Vertically. The Image will be Cropped at either top or Bottom size depending on Image.fillOrigin at the Image.fillAmount |
1 |
Radial90 | The Image will be filled Radially with the radial center in one of the corners. For this method the Image.fillAmount represents an angle between 0 and 90 degrees. The Image will be cut by a line passing at the Image.fillOrigin at the specified angle. |
2 |
Radial180 | The Image will be filled Radially with the radial center in one of the edges. For this method the Image.fillAmount represents an angle between 0 and 180 degrees. The Image will be cut by a line passing at the Image.fillOrigin at the specified angle. |
3 |
Radial360 | The Image will be filled Radially with the radial center at the center. or this method the Image.fillAmount represents an angle between 0 and 360 degrees. The Arc defined by the center of the Image, the Image.fillOrigin and the angle will be cut from the Image. |
4 |