translate#

Line.translate(x, y)#

Translate Entity by specified x,y distances.

Parameters:
xfloat

x distance.

yfloat

y distance.