drawCircles method
Draws multiple circles with centers positioned at pos.
Parameters:
canvas
The Canvas object from custom paint used for drawing the circles.sizes
List of radiuses for the circles to be drawn.
Implementation
void drawCircles(Canvas canvas, List<double> sizes) {
for (double rad in sizes) canvas.drawCircle(pos, rad, getPaint());
}