Class

LightingColorFilter

Create a ColorFilter that can be used to simulate simple lighting effects.

Source set: Common
public class LightingColorFilter internal constructor(
    public val multiply: Color,
    public val add: Color,
    nativeColorFilter: NativeColorFilter,
) : ColorFilter(nativeColorFilter)

Create a ColorFilter that can be used to simulate simple lighting effects. A lighting ColorFilter is defined by two parameters, one used to multiply the source color and one used to add to the source color

Parameters

multiply Color used to multiply the source color when the color filter is applied.
add Color that will be added to the source color when the color filter is applied.

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

toString

Source set: Common
override fun toString(): String
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: