BrushPaint.ColorFunction.OpacityMultiplier



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

Summary

Public constructors

OpacityMultiplier(multiplier: @FloatRange(from = 0.0) Float)

Constructs a color function that applies the specified opacity multiplier.

Cmn

Public functions

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

Public properties

Float

The opacity multiplier to apply.

Cmn

Inherited functions

From androidx.ink.brush.BrushPaint.ColorFunction
@ColorInt Int

Transforms the input color into a new color.

Cmn

Public constructors

OpacityMultiplier

OpacityMultiplier(multiplier: @FloatRange(from = 0.0) Float)

Constructs a color function that applies the specified opacity multiplier.

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

multiplier

val multiplierFloat

The opacity multiplier to apply.