Back to API Reference
Class
FilterModifier
sealed
Inherits:BaseModifier
Applies a ColorFilter to everything rendered below it in the style stack — an adjustment layer for text. Within its ranges it recolours the glyph face, every paint layer stacked beneath it, and colour emoji; stacked filters compose bottom-up, and a filter at the end of the style list recolours the whole styled text. The filter transforms each layer's colour as it composites; non-Normal blend layers keep their blend against the backdrop.
Remarks
Parameter: an optional strength scaling the whole filter for the range — 1 applies it as authored, 0 disables it (e.g. <sepia=0.5> with a sepia filter bound to the sepia tag).
