public class BeautyOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LIGHTENING_CONTRAST_HIGH
2: high contrast for lightening.
|
static int |
LIGHTENING_CONTRAST_LOW
0: low contrast for lightening.
|
static int |
LIGHTENING_CONTRAST_NORMAL
1: normal contrast for lightening.
|
int |
lighteningContrastLevel
The lightening contrast level, used with
lighteningLevel: LIGHTENING_CONTRAST_LOW(0): low
contrast level. |
float |
lighteningLevel
The brightness level.
|
float |
rednessLevel
The redness level.
|
float |
sharpnessLevel
The smoothness level.
|
float |
smoothnessLevel
The smoothness level.
|
| Constructor and Description |
|---|
BeautyOptions() |
BeautyOptions(int contrastLevel,
float lightening,
float smoothness,
float redness,
float sharpness)
The image enhancement options.
|
public static final int LIGHTENING_CONTRAST_LOW
public static final int LIGHTENING_CONTRAST_NORMAL
public static final int LIGHTENING_CONTRAST_HIGH
public int lighteningContrastLevel
lighteningLevel: LIGHTENING_CONTRAST_LOW(0): low
contrast level. LIGHTENING_CONTRAST_NORMAL(1): (default) normal contrast level. LIGHTENING_CONTRAST_HIGH(2): high
contrast level.
public float lighteningLevel
public float smoothnessLevel
public float rednessLevel
public float sharpnessLevel
public BeautyOptions(int contrastLevel,
float lightening,
float smoothness,
float redness,
float sharpness)
contrastLevel - The contrast level, used with the lighteningLevel parameter:
LIGHTENING_CONTRAST_LOW(0): low contrast level. LIGHTENING_CONTRAST_NORMAL(1):
(default) normal contrast level. LIGHTENING_CONTRAST_HIGH(2): high
contrast level.
lightening - The brightness level. The value ranges from 0.0 (original) to 1.0. The
default value is 0.7.smoothness - The sharpness level. The value ranges from 0.0 (original) to 1.0. The
default value is 0.5. This parameter is usually used to remove blemishes.redness - The redness level. The value ranges from 0.0 (original) to 1.0. The default
value is 0.1. This parameter adjusts the red saturation level.public BeautyOptions()