set_offsets


Description:

public bool set_offsets (int offx, int offy)

Set the layer offsets.

This procedure sets the offsets for the specified layer. The offsets are relative to the image origin and can be any values. This operation is valid only on layers which have been added to an image.

Parameters:

this

The layer.

offx

Offset in x direction.

offy

Offset in y direction.

Returns:

TRUE on success.