Menu
React Native 中文网React Native 中文网React Native 中文网
0.63
  • Next
  • 0.63
  • 所有版本
文档组件API讨论热更新关于
🌜
🌞
React Native 中文网React Native 中文网React Native 中文网
  • 文档
  • 组件
  • API
  • 讨论
  • 热更新
  • 关于
  • Versions
    • Next
    • 0.63
    • 所有版本
  • 核心组件
    • 核心组件和API
    • ActivityIndicator
    • Button
    • FlatList
    • Image
    • ImageBackground
    • KeyboardAvoidingView
    • Modal
    • Pressable
    • RefreshControl
    • ScrollView
    • SectionList
    • StatusBar
    • Switch
    • Text
    • TextInput
    • TouchableHighlight
    • TouchableOpacity
    • TouchableWithoutFeedback
    • View
    • VirtualizedList
    • Android 组件
      • DrawerLayoutAndroid
      • TouchableNativeFeedback
    • iOS 组件
      • InputAccessoryView
      • SafeAreaView
  • Props
    • 图片样式属性
    • 布局属性
    • 阴影样式属性
    • Text 样式属性
    • View 样式属性
  • 内部对象类型
    • 布局事件对象
    • 点击事件对象
    • React 节点对象
    • 矩形区域对象
    • ViewToken 对象

矩形区域对象

React 实战教程 深入学习一线大厂必备前端技能,VIP 教程限时免费领取。 立即查看 >

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.

示例#

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

属性与值#

bottom#

TypeRequired
number, null, undefinedNo

left#

TypeRequired
number, null, undefinedNo

right#

TypeRequired
number, null, undefinedNo

top#

TypeRequired
number, null, undefinedNo

被下列组件引用#

  • Image
  • Presssable
  • Text
  • TouchableWithoutFeedback

本文档贡献者:sunnylqm(76.00%), sunnylqm(24.00%)#
改进文档
最近更新 1/13/2021
Previous
« React 节点对象
Next
ViewToken 对象 »
  • 示例
  • 属性与值
    • bottom
    • left
    • right
    • top
  • 被下列组件引用
React Native 中文网 © 2021 武汉青罗网络科技有限公司 鄂ICP备20002031号-3 鄂公网安备 42011202001821号 鄂公网安备 42011202001821号