PathMakeWithRoundedRectangleWithRadii

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
rounded rectangle path of <Rectangle> with radii <Radii>
Associationscom.livecode.canvas
Summary

Create a new rectangle path with elliptical corner rounding

Parameters
NameTypeDescription
Rectangle

A rectangle to create the path from

Radii

A list of the horizontal radius and vertical radius for rounding

Values
NameTypeDescription
return

A newly-created canvas path

Related
Description

Create a new rounded rectangle path based on Rectangle.

The Radii is a list of two numbers. The first specifies the horizontal rounding radius and the second specifies the vertical rounding radius.

Tagscanvas