open fun offsetTo(newLeft: Double, newTop: Double): Unit
Offset the rectangle to a specific (left, top) position, keeping its width and height the same.
newLeft
- Double: The new "left" coordinate for the rectangle
newTop
- Double: The new "top" coordinate for the rectangle