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#
Keys and valuesbottom
#
Type | Required |
---|---|
number, null , undefined | No |
left
#
Type | Required |
---|---|
number, null , undefined | No |
right
#
Type | Required |
---|---|
number, null , undefined | No |
top
#
Type | Required |
---|---|
number, null , undefined | No |