BrushPaint.ColorFunction


Known direct subclasses
BrushPaint.ColorFunction.OpacityMultiplier

A ColorFunction that scales the color opacity by a specified multiplier.

BrushPaint.ColorFunction.ReplaceColor

A ColorFunction that ignores the input color and replaces it with the specified color.


A ColorFunction defines a mapping over colors.

Summary

Nested types

A ColorFunction that scales the color opacity by a specified multiplier.

A ColorFunction that ignores the input color and replaces it with the specified color.

Public functions

@ColorInt Int

Transforms the input color into a new color.

Cmn

Public functions

transformColorIntArgb

fun transformColorIntArgb(colorIntArgb: @ColorInt Int): @ColorInt Int

Transforms the input color into a new color.