Rect.contains

Checks whether this Rect contains the given coordinates.

  1. bool contains(const Vector2i vec)
  2. bool contains(int x, int y)
    struct Rect
    @nogc
    bool
    contains
    const pure nothrow
    (
    int x
    ,
    int y
    )

Meta