Image.clear

Clear the image, replacing every pixel with given color.

The clear(Color) overload only supports true color images. For paletted images, use clear(PalettedColor). The latter can also be used for building true color images using a palette, if one is supplied in the image at the time.

  1. void clear(Color color)
  2. void clear(PalettedColor entry)
    struct Image
    void
    clear

Meta