shift

Shifts the position of the text token by the specified amounts.

Return

a new TextToken instance with the updated position.

Parameters

dx

the amount to shift the token horizontally.

dy

the amount to shift the token vertically.