StacBlendMode enum
Blend modes for compositing colors and images.
These blend modes determine how colors are combined when drawing one element on top of another. They correspond to the blend modes available in graphics software and CSS.
- Inheritance
- Available extensions
Values
- clear → const StacBlendMode
-
Clear the destination pixels, making them transparent.
- src → const StacBlendMode
-
Replace destination with source pixels.
- dst → const StacBlendMode
-
Keep only destination pixels.
- srcOver → const StacBlendMode
-
Source pixels are drawn over destination pixels (normal blending).
- dstOver → const StacBlendMode
-
Destination pixels are drawn over source pixels.
- srcIn → const StacBlendMode
-
Keep source pixels that overlap with destination.
- dstIn → const StacBlendMode
-
Keep destination pixels that overlap with source.
- srcOut → const StacBlendMode
-
Keep source pixels that don't overlap with destination.
- dstOut → const StacBlendMode
-
Keep destination pixels that don't overlap with source.
- srcATop → const StacBlendMode
-
Source pixels on top of destination, clipped by destination alpha.
- dstATop → const StacBlendMode
-
Destination pixels on top of source, clipped by source alpha.
- xor → const StacBlendMode
-
Exclusive OR - pixels that don't overlap.
- plus → const StacBlendMode
-
Add source and destination pixel values.
- modulate → const StacBlendMode
-
Multiply source and destination colors.
- screen → const StacBlendMode
-
Screen blend mode - inverted multiply effect.
- overlay → const StacBlendMode
-
Overlay blend mode - combines multiply and screen.
- darken → const StacBlendMode
-
Darken blend mode - selects darker colors.
- lighten → const StacBlendMode
-
Lighten blend mode - selects lighter colors.
- colorDodge → const StacBlendMode
-
Color dodge blend mode - brightens destination based on source.
- colorBurn → const StacBlendMode
-
Color burn blend mode - darkens destination based on source.
- hardLight → const StacBlendMode
-
Hard light blend mode - combines overlay with stronger contrast.
- softLight → const StacBlendMode
-
Soft light blend mode - subtle lighting effect.
- difference → const StacBlendMode
-
Difference blend mode - absolute difference between colors.
- exclusion → const StacBlendMode
-
Exclusion blend mode - similar to difference but with less contrast.
- multiply → const StacBlendMode
-
Multiply blend mode - darker composite.
- hue → const StacBlendMode
-
Hue blend mode - uses source hue with destination saturation and luminosity.
- saturation → const StacBlendMode
-
Saturation blend mode - uses source saturation with destination hue and luminosity.
- color → const StacBlendMode
-
Color blend mode - uses source hue and saturation with destination luminosity.
- luminosity → const StacBlendMode
-
Luminosity blend mode - uses source luminosity with destination hue and saturation.
Properties
- 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 - parse → BlendMode
-
Available on StacBlendMode, provided by the StacBlendModeParser extension
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<
StacBlendMode> - A constant List of the values in this enum, in order of their declaration.