drawLargeSizedStar method

void drawLargeSizedStar(
  1. Canvas canvas,
  2. Star star,
  3. Paint paint
)

Draw a larger Star using a consistent size. Its size will depend on the current animation state. If it is not animated, the Star will be rendered smaller.

Implementation

void drawLargeSizedStar(Canvas canvas, Star star, Paint paint) {
  canvas.drawCircle(star.translatedOffset, (star.radius * 1.5), paint);
}