offset


Description:

public unowned Rect? offset (float d_x, float d_y)

Offsets the origin by d_x and d_y.

The size of the rectangle is unchanged.

Parameters:

this

a Rect

d_x

the horizontal offset

d_y

the vertical offset

Returns:

the offset rectangle