Skip to main content

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

NameTypeDescription

Rectangle

A rectangle to create the path from

Radii

A list of the horizontal radius and vertical radius for rounding

Thank you for your feedback!

Was this page helpful?