A little help for canvas extension users on android;
If you want to draw White circle, here is an example of kotlin code converted to event;
Code:
paint.setColor(Color.parseColor("#FFFFFF")) paint.setStrokeWidth(30F)
paint.setStyle(Paint.Style.STROKE)
var radius = 230F
// draw circle
canvas.drawCircle(320, 460, radius, paint)
Start of Frame;
Set Paint Color To "ffffff"
Set Paint Stroke Width to 30
Paint Set Style To Stroke Mode
Draw Circle X = 320 Y = 460 Radius 230
I will include 3 other commands soon.
Canvas DrawARGB for the canvas background color
Canvas DrawArc
Canvas Draw Rounded Rectangle
Missing command ; Paint antialias, Paint Dither and canvas draw path;
Hope this will help ;