Rect.setPosition

Set a new position with coordinates.

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

Meta