本页内容Rect 对象类型Rect 接受数值像素值,用于描述矩形区域的扩展距离。这些值会添加到原始区域的大小中,以扩大其范围。 示例 js{ bottom: 20, left: null, right: undefined, top: 50} 键和值 bottom 类型必需number, null, undefined否 left 类型必需number, null, undefined否 right 类型必需number, null, undefined否 top 类型必需number, null, undefined否 使用方 图像 Pressable Text TouchableWithoutFeedback