Rect.setPosition

Set a new position with a vector.

  1. void setPosition(int x, int y)
  2. void setPosition(Vector2i position)
    struct Rect
    @nogc pure nothrow
    void
    setPosition

Meta