void setBeautyStyle(int beautyStyle)
Parameter | Type | Description |
beautyStyle | int | Beauty filter style. 0: smooth; 1: natural; 2: misty. |
void setFilter(Bitmap bmp)
Parameter | Type | Description |
bmp | Bitmap | Filter image. |
app/src/main/res/drawable-xxhdpi/
.void setFilterStrength(float strength)
Parameter | Type | Description |
strength | float | Value range: 0-1. The larger the value, the more obvious the effect. Default value: 0.5. |
boolean setGreenScreenFile(String path)
Parameter | Type | Description |
path | String | Path to the video file, which can be in MP4 format. null: disable the effect. |
void setBeautyLevel(int beautyLevel)
Parameter | Type | Description |
beautyLevel | int | Strength of the beauty filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setWhitenessLevel(int whitenessLevel)
Parameter | Type | Description |
whitenessLevel | int | Strength of the skin brightening filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setRuddyLevel(int ruddyLevel)
Parameter | Type | Description |
ruddyLevel | int | Strength of the rosy skin filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setEyeScaleLevel(int eyeScaleLevel)
Parameter | Type | Description |
eyeScaleLevel | int | Strength of the eye enlarging filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setFaceSlimLevel(int faceSlimLevel)
Parameter | Type | Description |
faceSlimLevel | int | Strength of the face slimming filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setFaceVLevel(int faceVLevel)
Parameter | Type | Description |
faceVLevel | int | Strength of the chin slimming filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setChinLevel(int chinLevel)
Parameter | Type | Description |
chinLevel | int | Strength of the jaw shrinking or expanding filter. Value range: -9 to 9. 0 means disabling the filter. Values less than 0 mean shrinking the jaw, and values greater than 0 mean expanding the jaw. |
void setFaceShortLevel(int faceShortlevel)
Parameter | Type | Description |
faceShortlevel | int | Strength of the face slimming filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setNoseSlimLevel(int noseSlimLevel)
Parameter | Type | Description |
noseSlimLevel | int | Strength of the face slimming filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setEyeLightenLevel(int eyeLightenLevel)
Parameter | Type | Description |
eyeLightenLevel | int | Strength of the eye brightening filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setToothWhitenLevel(int toothWhitenLevel)
Parameter | Type | Description |
toothWhitenLevel | int | Strength of the teeth whitening filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setWrinkleRemoveLevel(int wrinkleRemoveLevel)
Parameter | Type | Description |
wrinkleRemoveLevel | int | Strength of the wrinkle removal filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setPounchRemoveLevel(int pounchRemoveLevel)
Parameter | Type | Description |
pounchRemoveLevel | int | Strength of the eye bag removal filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setSmileLinesRemoveLevel(int smileLinesRemoveLevel)
Parameter | Type | Description |
smileLinesRemoveLevel | int | Strength of the wrinkle removal filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setForeheadLevel(int foreheadLevel)
Parameter | Type | Description |
foreheadLevel | int | Strength of the hairline lowering filter. Value range: 0-9. 0 means disabling the filter. The greater the value of 1-9, the lower the hairline. |
void setEyeDistanceLevel(int eyeDistanceLevel)
Parameter | Type | Description |
eyeDistanceLevel | int | Strength of the eye distance shortening filter. Value range: 0-9. 0 means disabling the filter. The greater the value of 1-9, the shorter the eye distance. |
void setEyeAngleLevel(int eyeAngleLevel)
Parameter | Type | Description |
eyeAngleLevel | int | Strength of the eye tilting filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more upward the outer eye corners, and the more downward the inner eye corners. |
void setMouthShapeLevel(int mouthShapeLevel)
Parameter | Type | Description |
mouthShapeLevel | int | Strength of the mouth narrowing filter. Value range: 0-9. 0 means disabling the filter. The greater the value of 1-9, the smaller the mouth. |
void setNoseWingLevel(int noseWingLevel)
Parameter | Type | Description |
noseWingLevel | int | Strength of the nose wing narrowing filter. Value range: 0-9. 0 means disabling the filter. The greater the value of 1-9, the smaller the nose wing. |
void setNosePositionLevel(int nosePositionLevel)
Parameter | Type | Description |
nosePositionLevel | int | Nose position level. Value range: 0-9. 0 means disabling the filter. The greater the value of 1-9, the lower the nose position. |
void setLipsThicknessLevel(int lipsThicknessLevel)
Parameter | Type | Description |
lipsThicknessLevel | int | Strength of the lip thickening filter. Value range: 0-9. 0 means disabling the filter. The greater the value of 1-9, the thicker the lips. |
void setFaceBeautyLevel(int faceBeautyLevel)
Parameter | Type | Description |
faceBeautyLevel | int | Strength of the face shape filter. Value range: 0-9. 0 means disabling the filter. The larger the value, the more obvious the effect. |
void setMotionTmpl(String motionPath)
Parameter | Type | Description |
motionPath | String | Path to the animated effect. |
void setMotionMute(boolean motionMute)
Parameter | Type | Description |
motionMute | boolean | true: mute. false: unmute. |
Was this page helpful?