androidx.compose.ui.graphics.drawscope
DrawStyle
Sealed class · from org.jetbrains.compose.ui:ui-graphics:1.12.2
No hand-written docs yet.
Represents how the shapes should be drawn within a DrawScope
sealed class DrawStyle
Kinds of DrawStyle
Anywhere a DrawStyle is expected, you can pass any of these.
How to get one
Ready-made values and functions that return it
Used by
Parameters that take a DrawStyle.
DrawScope.drawArc(style)DrawScope.drawCircle(style)DrawScope.drawImage(style)DrawScope.drawOval(style)DrawScope.drawPath(style)DrawScope.drawRect(style)DrawScope.drawRoundRect(style)TextStyle.copy(drawStyle)TextStyle.merge(drawStyle)
Library docs
Represents how the shapes should be drawn within a DrawScope