DrawRing method

void DrawRing(
  1. Vector2 center,
  2. num innerRadius,
  3. num outerRadius,
  4. num startAngle,
  5. num endAngle,
  6. num segments,
  7. Color color,
)

Draw ring

Implementation

void DrawRing(
  Vector2 center,
  num innerRadius,
  num outerRadius,
  num startAngle,
  num endAngle,
  num segments,
  Color color,
) => run(
  () => _debugLabels.DrawRing(center, innerRadius, outerRadius, startAngle, endAngle, segments, color),
  () => _flat.DrawRing(
    center,
    innerRadius.toDouble(),
    outerRadius.toDouble(),
    startAngle.toDouble(),
    endAngle.toDouble(),
    segments.toInt(),
    color,
  ),
);