Method Image.Image()->rotate_expand()
- Method rotate_expand
rotate(objectint|floatangle)
rotate(objectint|floatangle,intr,intg,intb)
rotate_expand(objectint|floatangle)
rotate_expand(objectint|floatangle,intr,intg,intb)- Description
-
Rotates an image a certain amount of degrees (360° is a complete rotation) counter-clockwise:



original ->rotate(15,255,0,0); ->rotate_expand(15); The "expand" variant of functions stretches the image border pixels rather then filling with the given or current color.
- Parameter
angle -
the number of degrees to rotate
- Parameter
r - Parameter
g - Parameter
b -
color to fill with; default is current
- Returns
-
the new image object