Pixmap.getPixel

Provides access to a single pixel at the requested 2D-position.

  1. Pixel getPixel(Point pos)
    struct Pixmap
    @safe pure nothrow @safe pure nothrow @nogc const
    getPixel
  2. Pixel getPixel(int x, int y)

See Also

Accessing pixels through the data array will be more useful, usually.

Meta