Surface.getPixelAt

Returns the pixel at the given coordinates.

  1. int getPixelAt(int x, int y)
    struct Surface
    @nogc
    int
    getPixelAt
    const nothrow
    (
    int x
    ,
    int y
    )
  2. int getPixelAt(const Vector2i pos)

Meta