跳到主要内容
此为 React Native 中文网 0.73 版的文档,现已不再积极维护。
最新的文档请参阅 最新版本 (0.83)。
Version: 0.73

矩形区域对象

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.

示例

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

属性与值

bottom

TypeRequired
number, null, undefinedNo

left

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

top

TypeRequired
number, null, undefinedNo

被下列组件引用

AltStyle によって変換されたページ (->オリジナル) /