androidx.compose.ui.graphics.drawscope
CanvasDrawScope
Class · from org.jetbrains.compose.ui:ui-graphics:1.12.2
No hand-written docs yet.
Implementation of DrawScope that issues drawing commands into the specified canvas and bounds via CanvasDrawScope.draw
class CanvasDrawScope : DrawScope
Is a
Functions
draw
fun draw(
density: Density,
layoutDirection: LayoutDirection,
canvas: Canvas,
size: Size,
block: DrawScope.() -> Unit,
)
Draws into the provided Canvas with the commands specified in the lambda with this DrawScope as a receiver
Library docs
Implementation of DrawScope that issues drawing commands into the specified canvas and bounds
via CanvasDrawScope.draw