DrawStyle

sealed interface DrawStyle

Represents how the shapes should be drawn within a DrawScope

Inheritors

Types

Link copied to clipboard
data object Fill : DrawStyle

Default DrawStyle indicating shapes should be drawn completely filled in with the provided color or pattern

Link copied to clipboard
class Stroke(width: Int = 1) : DrawStyle

DrawStyle that provides information for drawing content with a stroke