Translates the origin of the item's coordinate system by the given amounts.
this |
an item. |
tx |
the amount to move the origin in the horizontal direction. |
ty |
the amount to move the origin in the vertical direction. |