Source set: Common
public abstract class Painter
Abstraction for something that can be drawn. In addition to providing the ability to draw into a specified bounded area, Painter provides a few high level mechanisms that consumers can use to configure how the content is drawn. These include alpha, ColorFilter, and RTL
Implementations should provide a meaningful equals method that compares values of different Painter subclasses and not rely on just referential equality