SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

APIs missing: Corner Radius

Open matteogratton opened this issue 3 years ago • 0 comments

APIs for handling the corner radius are currently missed. I don't know how to set the corner radius type.

To set the corner radius value the current way is:

layer.points.forEach(
        (point) => (point.cornerRadius = value)
    );
layer.sketchObject.setFixedRadius(value);

matteogratton avatar Jun 23 '22 10:06 matteogratton