Rect.setPosition

Set a new position with a vector.

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

Meta