Image.set

Set color at given position. Does nothing if position is out of bounds.

The set(int, int, Color) overload only supports true color images. For paletted images, use set(int, int, 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 set(int x, int y, Color color)
  2. void set(int x, int y, PalettedColor entry)
    struct Image
    void
    set

Meta