fun offset(dx: double, dy: double): void
Offset the rectangle by adding dx to its left and right coordinates, and adding dy to its top and bottom coordinates.
dx
- double: The amount to add to the rectangle's left and right coordinates
dy
- double: The amount to add to the rectangle's top and bottom coordinates