public class FaceShapeAreaOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FACE_SHAPE_AREA_CHEEK
6: Cheek, adjusts the size of cheek.
|
static int |
FACE_SHAPE_AREA_CHEEKBONE
5: Cheekbone, adjusts the size of cheekbone.
|
static int |
FACE_SHAPE_AREA_CHIN
7: Chin, adjusts the length of chin.
|
static int |
FACE_SHAPE_AREA_EYESCALE
8: Eye Scale, adjusts the size of eyes.
|
static int |
FACE_SHAPE_AREA_FACECONTOUR
2: Face Contour, slims the facial contour.
|
static int |
FACE_SHAPE_AREA_FACELENGTH
3: Face Length, adjusts the length of face.
|
static int |
FACE_SHAPE_AREA_FACEWIDTH
4: Face Width, narrows the width of face.
|
static int |
FACE_SHAPE_AREA_FOREHEAD
1: Forehead, adjusts the size of forehead.
|
static int |
FACE_SHAPE_AREA_HEADSCALE
0: Head Scale, reduces the size of head.
|
static int |
FACE_SHAPE_AREA_MOUTHSCALE
11: Mouth Scale, adjusts the size of mouth.
|
static int |
FACE_SHAPE_AREA_NONE
-1: (Default) Invalid area.
|
static int |
FACE_SHAPE_AREA_NOSELENGTH
9: Nose Length, adjusts the length of nose.
|
static int |
FACE_SHAPE_AREA_NOSEWIDTH
10: Nose Width, adjusts the width of nose.
|
int |
shapeArea
The specific facial area to be adjusted, used with
shapeArea : FACE_SHAPE_AREA_NONE(-1) :
(default) invalid area. |
int |
shapeIntensity
The intensity of the pinching effect applied to the specified facial area.
|
Constructor and Description |
---|
FaceShapeAreaOptions() |
FaceShapeAreaOptions(int area,
int intensity)
The face shape area options.
|
public static final int FACE_SHAPE_AREA_NONE
public static final int FACE_SHAPE_AREA_HEADSCALE
public static final int FACE_SHAPE_AREA_FOREHEAD
public static final int FACE_SHAPE_AREA_FACECONTOUR
public static final int FACE_SHAPE_AREA_FACELENGTH
public static final int FACE_SHAPE_AREA_FACEWIDTH
public static final int FACE_SHAPE_AREA_CHEEKBONE
public static final int FACE_SHAPE_AREA_CHEEK
public static final int FACE_SHAPE_AREA_CHIN
public static final int FACE_SHAPE_AREA_EYESCALE
public static final int FACE_SHAPE_AREA_NOSELENGTH
public static final int FACE_SHAPE_AREA_NOSEWIDTH
public static final int FACE_SHAPE_AREA_MOUTHSCALE
public int shapeArea
shapeArea
: FACE_SHAPE_AREA_NONE(-1)
:
(default) invalid area. FACE_SHAPE_AREA_HEADSCALE(0)
: Head Scale. FACE_SHAPE_AREA_FOREHEAD(1)
:
Forehead. FACE_SHAPE_AREA_FACECONTOUR(2)
: Face Contour. FACE_SHAPE_AREA_FACELENGTH(3)
: Face Length. FACE_SHAPE_AREA_FACEWIDTH(4)
: Face Width. FACE_SHAPE_AREA_CHEEKBONE(5)
: Cheekbone. FACE_SHAPE_AREA_CHEEK(6)
:
Cheek. FACE_SHAPE_AREA_CHIN(7)
: Chin. FACE_SHAPE_AREA_EYESCALE(8)
:
Eye Scale. FACE_SHAPE_AREA_NOSELENGTH(9)
: Nose Length. FACE_SHAPE_AREA_NOSEWIDTH(10)
: Nose Width. FACE_SHAPE_AREA_MOUTHSCALE(11)
: Mouth Scale.
public int shapeIntensity
public FaceShapeAreaOptions(int area, int intensity)
area
- The specific facial area to be adjusted, used with shapeArea
: FACE_SHAPE_AREA_NONE(-1)
:
(default) invalid area. FACE_SHAPE_AREA_HEADSCALE(0)
: Head Scale. FACE_SHAPE_AREA_FOREHEAD(1)
:
Forehead. FACE_SHAPE_AREA_FACECONTOUR(2)
: Face Contour. FACE_SHAPE_AREA_FACELENGTH(3)
: Face Length. FACE_SHAPE_AREA_FACEWIDTH(4)
: Face Width. FACE_SHAPE_AREA_CHEEKBONE(5)
: Cheekbone. FACE_SHAPE_AREA_CHEEK(6)
:
Cheek. FACE_SHAPE_AREA_CHIN(7)
: Chin. FACE_SHAPE_AREA_EYESCALE(8)
:
Eye Scale. FACE_SHAPE_AREA_NOSELENGTH(9)
: Nose Length. FACE_SHAPE_AREA_NOSEWIDTH(10)
: Nose Width. FACE_SHAPE_AREA_MOUTHSCALE(11)
: Mouth Scale.
intensity
- The intensity of the pinching effect applied to the specified facial area.
For the following area values: #FACE_SHAPE_AREA_FOREHEAD, #FACE_SHAPE_AREA_FACELENGTH,
#FACE_SHAPE_AREA_CHIN, #FACE_SHAPE_AREA_NOSELENGTH, #FACE_SHAPE_AREA_NOSEWIDTH,
#FACE_SHAPE_AREA_MOUTHSCALE, the value ranges from -100 to 100. The default value is 0. The
greater the absolute value, the stronger the intensity applied to the specified facial area,
and negative values indicate the opposite direction. For enumeration values other than the
above, the value ranges from 0 to 100. The default value is 0. The greater the value, the
stronger the intensity applied to the specified facial area.public FaceShapeAreaOptions()