set_simple_transform


Description:

public void set_simple_transform (double x, double y, double scale, double rotation)

A convenience function to set the item's transformation matrix.

Parameters:

this

an item.

x

the x coordinate of the origin of the item's coordinate space.

y

the y coordinate of the origin of the item's coordinate space.

scale

the scale of the item.

rotation

the clockwise rotation of the item, in degrees.