ColorBuilders.Brush


@RequiresSchemaVersion(major = 1, minor = 300)
public interface ColorBuilders.Brush

Known direct subclasses
ColorBuilders.LinearGradient

A linear gradient with the provided colors based on defined start and end coordinates.

ColorBuilders.SweepGradient

A sweep gradient with the given colors dispersed around its center with offsets defined in each color stop.


Interface defining a Brush describes how something is drawn on screen. It determines the color(s) that are drawn in the drawing area.