🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

BrushPainter

Painter implementation used to fill the provided bounds with the specified Brush.

Source set: Common
public class BrushPainter(public val brush: Brush) : Painter()

Painter implementation used to fill the provided bounds with the specified Brush. The intrinsic size of this Painter is determined by Brush.intrinsicSize

Properties

intrinsicSize

Source set: Common
override val intrinsicSize: Size

Functions

onDraw

Source set: Common
override fun DrawScope.onDraw()

applyAlpha

Source set: Common
override fun applyAlpha(alpha: Float): Boolean

applyColorFilter

Source set: Common
override fun applyColorFilter(colorFilter: ColorFilter?): Boolean

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

toString

Source set: Common
override fun toString(): String