RoundedCorners:set_radius_top_left

Sets the top left corner radius.

Usage

rounded_corners:set_radius_top_left(radius)

Arguments

Name Type Description
radius number Corner radius.

Examples

local rounded_corners = crystal.RoundedCorners:new(8);
rounded_corners:set_child(crystal.Image:new(crystal.assets.get("forest_icon.png")));
rounded_corners:set_radius_top_left(0);

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