transform_translate


Description:

[ Version ( since = "2.10" ) ]
public unowned Item transform_translate (double off_x, double off_y)

Translate the item by the specified offsets.

This procedure translates the item by the amounts specified in the off_x and off_y arguments. These can be negative, and are considered offsets from the current position. The offsets will be rounded to the nearest pixel unless the item is a path.

Parameters:

this

The item.

off_x

Offset in x direction.

off_y

Offset in y direction.

Returns:

The translated item.