background property

Paint background
final

The paint drawn as a background for the text.

The value should ideally be cached and reused each time if multiple text styles are created with the same paint settings. Otherwise, each time it will appear like the style changed, which will result in unnecessary updates all the way through the framework.

Implementation

final Paint background