ImageDrawCircle method

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

Implementation

void ImageDrawCircle(
  ImageD dst,
  num centerX,
  num centerY,
  num radius,
  ColorD color,
) => run(
  () => 'ImageDrawCircle($dst, $centerX, $centerY, $radius, $color)',
  () => _refUpdateImage(dst,
    (p) => rl.Core.ImageDrawCircle(
      p,
      centerX.toInt(),
      centerY.toInt(),
      radius.toInt(),
      _refColor1(color).ref,
    ),
  ),
);