From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Rect.Offset(DeltaX As Double, DeltaY As Double)

New in 2019r2

Supported for all project types and targets.

Moves the point the passed number of pixels. Positive numbers move the point down or to the right, negative move it up or to the left.