Skip to main content
Version: Next

Rect Object Type

Rect accepts numeric pixel values to describe how far to extend a rectangular area. These values are added to the original area's size to expand it.

Exampleโ€‹

{
bottom: 20,
left: null,
right: undefined,
top: 50
}

Keys and valuesโ€‹

bottomโ€‹

TypeRequired
number, null, undefinedNo

leftโ€‹

TypeRequired
number, null, undefinedNo
TypeRequired
number, null, undefinedNo

topโ€‹

TypeRequired
number, null, undefinedNo

Used byโ€‹