drawCircle method

  1. @override
void drawCircle(
  1. Vector2 center,
  2. num radius,
  3. Color3i color
)
override

Draw a circle.

Implementation

@override
void drawCircle(Vector2 center, num radius, Color3i color) {
  final screenRadius = radius * viewport.scale;
  _pathCircle(center, screenRadius, color);
  ctx.stroke();
}