PainterHint

@Immutable
sealed interface PainterHint

A PainterHint is a hint for PainterProvider on how to load a Painter. It can used to patch the path of the resource being loaded (e.g., for New UI icon path mapping, and handling the dark theme variants), replace colors in an SVG based on the theme palette, etc.

Custom implementations are not allowed. There are two types of hints:

See also

Inheritors

Types

Link copied to clipboard
object None : PainterHint

An empty PainterHint, it will be ignored.

Functions

Link copied to clipboard