Brush

interface Brush : ComposableProperties<Brush>

定义如何绘制一个区域的画刷(Brush)。

与使用单一 Color 不同,Brush 允许使用更复杂的绘制方式, 例如渐变(gradients)或图像。

要创建具体的画刷实例(如线性渐变、径向渐变等),请使用 Brushes 接口中提供的工厂方法。

Author

M8Test, [email protected], https://m8test.com

See also