PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

SliceScale

ImageButton

float

Scales the 9slice edges by the specified ratio. This means that the edges around the 9slice will grow as if you’d uploaded a new version of the texture upscaled. Defaults to 1.0.

As a multiplier for the borders of a 9slice, it is useful for reusing one rounded corner image for multiple radii

Scaling example

See also

  • ImageButton/ScaleType, determines how an image will scale if displayed in a UI element whose size differs from the source image
  • ImageLabel/ScaleCenter,determines the center of a 9slice image
  • ImageButton/SliceScale, the same property in terms of functionality but for ImageButton|ImageButtons