StyleBox¶
Global · StyleBox · server and client scripts
StyleBox creates an immutable visual style for UI panels, frames, and controls combining background color, border, corner radius, padding, and optional nine-slice image. To read fields on a style box, see StyleBox.
new¶
StyleBox.new creates a StyleBox from an options table with optional Color, BorderColor, BorderWidth, CornerRadius, Padding, Image, and Slice fields. Unknown keys raise an error.