Added keep aspect ratio parameter to camera.takePicture method.

This commit is contained in:
Nedyalko Nikolov
2015-04-16 15:38:59 +03:00
parent caf41f95e6
commit 95da9d9f6f
6 changed files with 57 additions and 13 deletions

4
ui/enums/enums.d.ts vendored
View File

@@ -164,12 +164,12 @@
export var none: string;
/**
* The image is resized to fit in the destination dimensions while it preserves its native aspect ratio.
* The image is resized to fill in the destination dimensions while it preserves its native aspect ratio.
*/
export var aspectFill: string;
/**
* The image is resized to fill the destination dimensions while it preserves
* The image is resized to fit the destination dimensions while it preserves
* its native aspect ratio. If the aspect ratio of the destination rectangle differs from the image,
* the image is clipped to fit in the destination
*/