ColorFilter
Defines a color filter.
Properties
blend_mode- The blend mode to apply to the color filter.color- The color to use when applying the filter.
Methods
copy- Returns a copy of this object with the specified properties overridden.
Properties
blend_modeclass-attributeinstance-attribute
blend_mode: BlendMode | None = NoneThe blend mode to apply to the color filter.
colorclass-attributeinstance-attribute
color: ColorValue | None = NoneThe color to use when applying the filter.
Methods
copy
copy(
color: ColorValue | None = None,
blend_mode: BlendMode | None = None,
) -> ColorFilterReturns a copy of this object with the specified properties overridden.