Pixmap.getPixel

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

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

See Also

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

Meta