DrawStyle

sealed interface DrawStyle

Defines how geometric shapes are rendered: whether filled or stroked.

Inheritors

Types

Link copied to clipboard
object Companion

Predefined stroke style instances.

Link copied to clipboard
data object Fill : DrawStyle

Fills the interior of the shape.

Link copied to clipboard
class Stroke(val stroke: Stroke) : DrawStyle

Outlines the boundary of the shape using a stroke.