resizeX()


Scales an object horizontally

resizeX(x, f1, f2)
x Scale factor
f1 Start frame
f2 End frame

Example:

shape = triangle(30, 75, 58, 20, 86, 75)
shape.resizeX(0.5, 1, 80)
                                                                            
shape.draw(1, 1000)