ColorFilter

Effects used to modify the color of an image.

ColorFilter

Class

Android
public class ColorFilter
internal constructor(
    @get:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public val colorFilterParams: ColorFilterParams
)

Effects used to modify the color of an image.

Companion Object

Methods

Android
public fun tint(colorProvider: ColorProvider): ColorFilter

Set a tinting option for the image using the platform-specific default blending mode.

Parameters

colorProviderProvider used to get the color for blending the source content.