Spec-Zone.ru › React Native

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.

{
    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

right

Type Required
number, null, undefined No

top

Type Required
number, null, undefined No

Used by

  • Image
  • Pressable
  • Text
  • TouchableWithoutFeedback

© 2022 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://reactnative.dev/docs/rect

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API