Rect.offsetR

Offsets the origin of the given rectangle by @d_x and @d_y.

The size of the rectangle is left unchanged.

class Rect
void
offsetR
(
float dX
,
float dY
,
out Rect res
)

Parameters

dX float

the horizontal offset

dY float

the vertical offset

res Rect

return location for the offset rectangle

Meta