as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

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

Type Required
number, null, undefined No

left

Type Required
number, null, undefined No
Type Required
number, null, undefined No

top

Type Required
number, null, undefined No

Used by


Last updated: Sep 30, 2025