DrawEllipse method

void DrawEllipse(
  1. num centerX,
  2. num centerY,
  3. num radiusH,
  4. num radiusV,
  5. Color color,
)

Draw ellipse

Implementation

void DrawEllipse(
  num centerX,
  num centerY,
  num radiusH,
  num radiusV,
  Color color,
) => run(
  () => _debugLabels.DrawEllipse(centerX, centerY, radiusH, radiusV, color),
  () => _flat.DrawEllipse(
    centerX.toInt(),
    centerY.toInt(),
    radiusH.toDouble(),
    radiusV.toDouble(),
    color,
  ),
);