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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: