Translates an object horizontally
Example:
shape = triangle(30, 75, 58, 20, 86, 75) shape.moveX(10, 1, 80) shape.draw(1, 1000)