Skip to content

Commit

Permalink
Document Image resizeMode=center
Browse files Browse the repository at this point in the history
  • Loading branch information
motiz88 authored Jan 27, 2018
1 parent 4838dac commit 78d063c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ Determines how to resize the image when the frame doesn't match the raw image di

* `repeat`: Repeat the image to cover the frame of the view. The image will keep it's size and aspect ratio. (iOS only)

* `center`: Center the image in the view along both dimensions. If the image is larger than the view, scale it down uniformly so that it is contained in the view.

| Type | Required |
| ------------------------------------------------------- | -------- |
| enum('cover', 'contain', 'stretch', 'repeat', 'center') | No |
Expand Down

0 comments on commit 78d063c

Please sign in to comment.