Julius Marozas
Canvas
DrawScope.drawPath
Path
PathData
List<PathNode>
val path = Path().apply { moveTo(1f, 2f) lineTo(3f, 4f) lineTo(5f, 7f) } drawPath(path, Color.Red)
PathFillType
drawCanvas { canvas, size -> canvas.drawPath(path, Paint().apply { color = Color.Red style = PaintingStyle.stroke strokeWidth = 3 }) }
drawCanvas
DrawScope
Andrey Kulikov
A modern programming language that makes developers happier.