|
Agora Java API Reference for Android
|
Defines the options for adjusting different areas of the face in beauty effects. More...
Public Member Functions | |
| FaceShapeAreaOptions (int area, int intensity) | |
Public Attributes | |
| int | shapeArea |
| int | shapeIntensity |
Defines the options for adjusting different areas of the face in beauty effects.
| io.agora.rtc2.video.FaceShapeAreaOptions.FaceShapeAreaOptions | ( | int | area, |
| int | intensity | ||
| ) |
The face shape area options.
|
static |
-1: (Default) Invalid area.
|
static |
100: Head Scale, reduces the size of the head. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the head reduction effect.
|
static |
101: Forehead, adjusts the size of the forehead. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the forehead effect.
|
static |
102: Face Contour, slims the facial contour. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the facial contour reduction effect.
|
static |
103: Face Length, adjusts the length of the face. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the face length effect, negative values indicate the opposite direction.
|
static |
104: Face Width, narrows the width of the face. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the face width reduction effect.
|
static |
105: Cheekbone, adjusts the size of the cheekbone. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the cheekbone effect.
|
static |
106: Cheek, adjusts the size of the cheek. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the cheek effect.
|
static |
107: Mandible, slims the mandible. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the mandible effect.
|
static |
108: Chin, adjusts the length of the chin. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the chin effect, negative values indicate the opposite direction.
|
static |
200: Eye Scale, adjusts the size of the eyes. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the eye size effect.
|
static |
201: Eye Distance, adjusts the distance between the two eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye distance effect, negative values indicate the opposite direction.
|
static |
202: Eye Position, adjusts the upper and lower position of the eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye position effect, negative values indicate the opposite direction.
|
static |
203: Lower Eyelid, adjusts the downward position of the eyelids. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the lower eyelid effect.
|
static |
204: Eye Pupils, adjusts the size of the eye pupils. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the eye pupils effect.
|
static |
205: Eye Inner Corner, adjusts the inner corner of the eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye inner corner effect, negative values indicate the opposite direction.
|
static |
206: Eye Outer Corner, adjusts the outer corner of the eyes. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eye outer corner effect, negative values indicate the opposite direction.
|
static |
300: Nose Length, adjusts the length of the nose. The value range is [-100, 100]. The default value is 0.
|
static |
301: Nose Width, adjusts the width of the nose. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the nose width effect.
|
static |
302: Nose Wing, adjusts the size of the nose wing. The value range is [0, 100]. The default value is 10. The larger the value, the stronger the nose wing effect.
|
static |
303: Nose Root, adjusts the size of the nose root. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the nose root effect.
|
static |
304: Nose Bridge, adjusts the size of the nose bridge. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the nose bridge effect.
|
static |
305: Nose Tip, adjusts the size of the nose tip. The value range is [0, 100]. The default value is 50. The larger the value, the stronger the nose tip effect.
|
static |
306: Nose General, adjusts the overall size of the nose. The value range is [-100, 100]. The default value is 50. The larger the absolute value, the stronger the nose general effect, negative values indicate the opposite direction.
|
static |
400: Mouth Scale, adjusts the size of the mouth. The value range is [-100, 100]. The default value is 20. The larger the absolute value, the stronger the mouth size effect, negative values indicate the opposite direction.
|
static |
401: Mouth Position, adjusts the position of the mouth. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the mouth position effect.
|
static |
402: Mouth Smile, adjusts the smile degree of the mouth. The value range is [0, 100]. The default value is 30. The larger the value, the stronger the mouth smile effect.
|
static |
403: Mouth Lip, adjusts the size of the lips. The value range is [0, 100]. The default value is 0. The larger the value, the stronger the mouth lip effect.
|
static |
500: Eyebrow Position, adjusts the position of the eyebrows. The value range is [-100, 100]. The default value is 0. The larger the absolute value, the stronger the eyebrow position effect, negative values indicate the opposite direction.
|
static |
501: Eyebrow Thickness, adjusts the thickness of the eyebrows. The value range is [-100, 100]. The default value is 0. The larger the value, the stronger the eyebrow thickness effect.
| int io.agora.rtc2.video.FaceShapeAreaOptions.shapeArea |
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.
| int io.agora.rtc2.video.FaceShapeAreaOptions.shapeIntensity |
The intensity of the pinching effect applied to the specified facial area.
1.8.18