HardLight

A SeparableBlendMode where if the source color is lighter than 50% gray, the color is lightened, as if Screen was applied. If the source color is darker than 50% gray, the image is darkened, as if Multiply was applied

Functions

Link copied to clipboard
open override fun blendColor(backdrop: KalugaColor, source: KalugaColor): KalugaColor

Blends two KalugaColor into a new KalugaColor using this BlendMode

Link copied to clipboard
open override fun blendColorChannel(backdrop: Double, source: Double): Double

Blends the color of a single channel