androidx.compose.ui.graphics
BlendModeColorFilter
Class · from org.jetbrains.compose.ui:ui-graphics:1.12.2
No hand-written docs yet.
Creates a color filter that applies the blend mode given as the second argument. The source color is the one given as the first argument, and the destination color is the one from the layer being composited.
class BlendModeColorFilter : ColorFilter
Is a
Properties
color
val color: Color
blendMode
val blendMode: BlendMode
Library docs
Creates a color filter that applies the blend mode given as the second argument. The source color is the one given as the first argument, and the destination color is the one from the layer being composited.
The output of this filter is then composited into the background according to the
Paint.blendMode, using the output of this filter as the source and the background as the
destination.