FillingAmount||doc136904

September 20, 2022

Format

Image.FillingAmount

describe

The padding area of ​​the picture control, the range is between [0, 1].

code example

--Create picture window
local image = UI:CreateGUIWidget(Enum.WidgetType.Image)

--Set the window to the root node of the UI
image.Parent = UI.Root

--Set the padding area of ​​the picture control to 0.8
image.FillingAmount = 0.8