DEV Community

Discussion on: Drawing and painting in Jetpack Compose #1

Collapse
 
cpratik711 profile image
cpratik711 • Edited

Inside the Jetpack Compose Beta 02 version

 drawCircle(
                Color.Red, 64f,
                Offset(size.width / 2, size.height / 2),
                style = Stroke(width = 8f,
                    pathEffect = PathEffect.dashPathEffect(floatArrayOf(20f,20f),10f)
                ),
            )

Enter fullscreen mode Exit fullscreen mode