ImageClearBackground method

void ImageClearBackground(
  1. ImageD dst,
  2. ColorD color
)

Implementation

void ImageClearBackground(
  ImageD dst,
  ColorD color,
) => run(
  () => 'ImageClearBackground($dst, $color)',
  () => _refUpdateImage(dst,
    (p) => rl.Core.ImageClearBackground(
      p,
      _refColor1(color).ref,
    ),
  ),
);