LightingColorFilter
Create a [ColorFilter] that can be used to simulate simple lighting effects. A lighting
LightingColorFilter
Class
Common
class LightingColorFilter
internal constructor(val multiply: Color, 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. |
Secondary Constructors
constructor(
multiply: Color,
add: Color,
) : this(multiply, add, actualLightingColorFilter(multiply, add))
