MiuixGlassColorBlendMode enum
对应 Kotlin GlassColorBlendMode;声明顺序即 OS4 blend shader 的 id
(mode.index 直接喂给 shader),新增模式只能往后追加。
Values
- srcOver → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.srcOver) - plusDarker → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.multiply) - plusLighter → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.plus) - softLight → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.softLight) - hardLight → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.hardLight) - overlay → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.overlay) - luminosity → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.luminosity) - colorDodge → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.colorDodge) - colorBurn → const MiuixGlassColorBlendMode
-
const MiuixGlassColorBlendMode(BlendMode.colorBurn)
Properties
- fallback → BlendMode
-
blend shader 不可用时(asset 缺失 / 后端不支持 runtime shader)退回的原生
BlendMode。九种里七种有一一对应;plusDarker / plusLighter 是源端的
alpha 感知变体,取观感最近的 multiply / plus。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MiuixGlassColorBlendMode> - A constant List of the values in this enum, in order of their declaration.