9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-02 00:07:24 +08:00

Mise en place d'une option pour désactiver la fonction d'opacité.

This commit is contained in:
Christophe Boucaut
2015-01-26 10:19:07 +01:00
parent aadd3871ac
commit 466bb55533
3 changed files with 43 additions and 26 deletions
+4 -2
View File
@@ -22,7 +22,8 @@
cameraBackgroundColor: "#e26760", // color of the camera button.
cameraBackgroundColorPressed: "#dc453d", // color of the pressed camera button.
// To get supported color formats, go to see method parseColor : http://developer.android.com/reference/android/graphics/Color.html#parseColor(java.lang.String)
quality: 100 // picture's quality : range 0 - 100 : http://developer.android.com/reference/android/graphics/Bitmap.html#compress(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream) (parameter "quality")
quality: 100, // picture's quality : range 0 - 100 : http://developer.android.com/reference/android/graphics/Bitmap.html#compress(android.graphics.Bitmap.CompressFormat, int, java.io.OutputStream) (parameter "quality")
opacity: true // active or disable the opacity function.
};
for (var nameOption in defaultOptions) {
@@ -50,7 +51,8 @@
options.saveInGallery,
options.cameraBackgroundColor,
options.cameraBackgroundColorPressed,
options.quality
options.quality,
options.opacity
]
);
};