Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
terrylinla authored Aug 13, 2018
1 parent 04f17c8 commit b322a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Note: Because native module cannot read the file in JS bundle, file path cannot
}
```
| Property | Type | Description |
| :------------ |:---------------|:---------------|:---------------|
| :------------ |:---------------|:---------------|
| folder? | string | Android: the folder name in `Pictures` directory<br/>iOS: if `filename` is not null, image will save to temporary directory with folder and filename, otherwise, it will save to camera roll |
| filename? | string | the file name of image<br/>iOS: Set to `null` to save image to camera roll. |
| transparent | boolean | save canvas with transparent background, ignored if imageType is `jpg` |
Expand Down Expand Up @@ -326,7 +326,7 @@ Note: Because native module cannot read the file in JS bundle, file path cannot
}
```
| Property | Type | Description | Default |
| :------------ |:---------------|:---------------|:---------------|:---------------|
| :------------ |:---------------|:---------------|:---------------|
| filename | string | the fold name of the background image file (can be a full path) | |
| directory? | string | the directory of the background image file (usually used with [constants](#constants)) | '' |
| mode? | boolean | Specify how the background image resizes itself to fit or fill the canvas.<br/>Options: `AspectFill`, `AspectFit`, `ScaleToFill` | `AspectFit` |
Expand Down

0 comments on commit b322a86

Please sign in to comment.