Border:set_rounding

Sets the radius used for corner rounding.

Usage

border:set_rounding(radius)

Arguments

Name Type Description
radius number Corner radius.

Examples

local border = crystal.Border:new();
border:set_rounding(4);
print(border:rounding()); -- Prints 4

This site uses Just the Docs, a documentation theme for Jekyll.