BeautyOptions class

美颜效果选项。

Annotations

Constructors

BeautyOptions({LighteningContrastLevel lighteningContrastLevel, double lighteningLevel, double smoothnessLevel, double rednessLevel})
Constructs a BeautyOptions
BeautyOptions.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
lighteningContrastLevel LighteningContrastLevel
亮度明暗对比度。与 lighteningLevel 参数搭配使用。// 检查一下 RN 为什么没有?
@JsonKey(includeIfNull: false), read / write
lighteningLevel double
亮度,取值范围为 0.0,1.0,其中 0.0 表示原始亮度,默认值为 0.7。可用来实现美白等视觉效果。
@JsonKey(includeIfNull: false), read / write
rednessLevel double
红色度,取值范围为 0.0,1.0,其中 0.0 表示原始红色度,默认值为 0.1。可用来实现红润肤色等视觉效果。
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
smoothnessLevel double
平滑度,取值范围为 0.0,1.0,其中 0.0 表示原始平滑等级,默认值为 0.5。可用来实现祛痘、磨皮等视觉效果。
@JsonKey(includeIfNull: false), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited