[add] new Image resize modes

This commit is contained in:
Nicolas Gallagher
2016-07-16 19:23:59 -07:00
parent 66b0387023
commit 2440e74e99
4 changed files with 34 additions and 27 deletions

View File

@@ -46,7 +46,7 @@ Invoked when load either succeeds or fails,
Invoked on load start.
**resizeMode**: oneOf('contain', 'cover', 'none', 'stretch') = 'stretch'
**resizeMode**: oneOf('center', 'contain', 'cover', 'none', 'repeat', 'stretch') = 'stretch'
Determines how to resize the image when the frame doesn't match the raw image
dimensions.