Rect.setPosition

Set a new position with coordinates.

  1. void setPosition(T x, T y)
    struct Rect(T)
    pure nothrow
    void
    setPosition
    (
    T x
    ,
    T y
    )
    if (
    isNumeric!T
    )
  2. void setPosition(Vector2!(T) position)

Meta