PathMakeWithRoundedRectangleWithRadii
Type
operator
Summary
Create a new rectangle path with elliptical corner rounding
Syntax
rounded rectangle path of <Rectangle> with radii <Radii>
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.
Parameters
Name | Type | Description |
---|---|---|
Rectangle | A rectangle to create the path from | |
Radii | A list of the horizontal radius and vertical radius for rounding |