Surface.getPixelAt

Returns the pixel at the given coordinates.

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

Meta