ImageDrawCircle method

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

Draw a filled circle within an image

Implementation

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