Skip to main content

Rectangle

Typeobject
Backlinks1

A rectangular shape, determined by the object's bounds.

PropertyTypeRequired
classstringRequired
radiusArray<number>Optional

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"rectangle"

radius​

Optional

Description

The radius values correspond to the corners in the following order: left-top, right-top, right-bottom, left-bottom. Default value is [0, 0, 0, 0].

Type

Array<number>

Value

maximum number of items: the maximum number of items for this array is: 4

minimum number of items: the minimum number of items for this array is: 4