BlendModeColorFilter



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.

Summary

Public constructors

BlendModeColorFilter(color: Color, blendMode: BlendMode)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

BlendMode

BlendMode used when compositing the tint color to the destination

Cmn
Color

Color used to blend source content

Cmn

Public constructors

BlendModeColorFilter

BlendModeColorFilter(color: Color, blendMode: BlendMode)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

blendMode

val blendModeBlendMode

BlendMode used when compositing the tint color to the destination

color

val colorColor

Color used to blend source content