setBrush

abstract fun setBrush(brush: (Brushes) -> Brush)

设置用于绘制边框的 Brush(画刷)。 画刷可以实现复杂的填充效果,例如渐变色。

Parameters

brush

要用于构建绘制边框的 Brush 实例的函数。