Surface.getColorAt

Returns the color on the given position, or Color4b.Black if the position is out of range.

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

Meta