ImageDrawCircle method

void ImageDrawCircle(
  1. Image dst,
  2. num centerX,
  3. num centerY,
  4. num radius,
  5. Color color,
)

Draw a filled circle within an image

Implementation

void ImageDrawCircle(
  Image dst,
  num centerX,
  num centerY,
  num radius,
  Color color,
) => run(
  () => _debugLabels.ImageDrawCircle(dst, centerX, centerY, radius, color),
  () => _flat.ImageDrawCircle(
    Image$.Ref1(dst),
    centerX.toInt(),
    centerY.toInt(),
    radius.toInt(),
    color,
  ),
);