public static class SaveSettings.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SaveSettings |
build() |
SaveSettings.Builder |
setClearViewsEnabled(boolean clearViewsEnabled)
Define a flag to clear the view after saving the image
|
SaveSettings.Builder |
setCompressFormat(android.graphics.Bitmap.CompressFormat compressFormat)
Set the compression format for the file to save: JPEG, PNG or WEBP
|
SaveSettings.Builder |
setCompressQuality(int compressQuality)
Set the expected compression quality for the output, a number between
0 and 100
|
SaveSettings.Builder |
setTransparencyEnabled(boolean transparencyEnabled)
Define a flag to enable transparency while saving image
|
public SaveSettings.Builder setTransparencyEnabled(boolean transparencyEnabled)
transparencyEnabled - true if enabledBitmapUtil.removeTransparency(Bitmap)public SaveSettings.Builder setClearViewsEnabled(boolean clearViewsEnabled)
clearViewsEnabled - true if you want to clear all the views on PhotoEditorViewpublic SaveSettings.Builder setCompressFormat(android.graphics.Bitmap.CompressFormat compressFormat)
compressFormat - JPEG, PNG or WEBPpublic SaveSettings.Builder setCompressQuality(int compressQuality)
compressQuality - An integer from 0 to 100public SaveSettings build()