Orient
Function
This function rotates the image by 90 degree increments, resizing the image
frame if necessary (ie, for 1 turn on a 300x600 frame, it rotates it 90 degrees,
and makes a 600x300 frame). You can also Flip
and Flop the image. To rotate
in degrees, use either Rotate
or Move2D.
Parameters
|
Type
|
Defaults
|
Function
|
nTurn |
int
|
0 |
Number of 90-degree increments the image is rotated, ie 0 = no rotation |
flop |
int
|
0 |
Flops the image left and right around the Y axis. 0 = no flop |
flip |
int
|
0 |
Flips the image up and down around the X axis. 0 = no flip |
Synopsis
image Orient( image, int nTurn, int flop, int flip );
Script
image = Orient( image, nTurn, flop, flip );
Command Line
shake -orient nTurn flop flip