本页总览Rect 对象类型Rect 接受数值类型的像素值,用于描述矩形区域向外扩展的距离。这些数值会加到原始区域的大小上,从而扩展该区域。 示例 js{ bottom: 20, left: null, right: undefined, top: 50} 键和值 bottom 类型是否必需数字、null、undefined否 left 类型是否必需数字、null、undefined否 right 类型是否必需数字、null、undefined否 top 类型是否必需数字、null、undefined否 使用者 Image Pressable Text TouchableWithoutFeedback