BlendEffectMode
enum · ferroui-base · v0.5.0
enum BlendEffectMode
How a blend effect mixes its foreground into its background (Win2D
BlendEffectMode, the modes of Direct2D's blend effect).
The modes with a counterpart among the blend modes of the drawing
contexts are drawn: Multiply, Screen, Darken, Lighten,
ColorBurn, ColorDodge, LinearDodge (an addition), Overlay,
SoftLight, HardLight, Difference, Exclusion, Hue, Saturation,
Color and Luminosity. The other modes are drawn from the pixels of the
two sources (docs/porting/winui-materials.md).
Color keeps the hue and saturation of the foreground and the
luminosity of the background; Luminosity the other way round, as Win2D
documents them.
Members
MultiplyScreenDarkenLightenDissolveColorBurnLinearBurnDarkerColorLighterColorColorDodgeLinearDodgeOverlaySoftLightHardLightVividLightLinearLightPinLightHardMixDifferenceExclusionHueSaturationColorLuminositySubtractDivision
Multiply
Multiply = 0
The default of Win2D.
Screen
Screen = 1
Darken
Darken = 2
Lighten
Lighten = 3
Dissolve
Dissolve = 4
ColorBurn
ColorBurn = 5
LinearBurn
LinearBurn = 6
DarkerColor
DarkerColor = 7
LighterColor
LighterColor = 8
ColorDodge
ColorDodge = 9
LinearDodge
LinearDodge = 10
Overlay
Overlay = 11
SoftLight
SoftLight = 12
HardLight
HardLight = 13
VividLight
VividLight = 14
LinearLight
LinearLight = 15
PinLight
PinLight = 16
HardMix
HardMix = 17
Difference
Difference = 18
Exclusion
Exclusion = 19
Hue
Hue = 20
Saturation
Saturation = 21
Color
Color = 22
Luminosity
Luminosity = 23
Subtract
Subtract = 24
Division
Division = 25
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.