| Orient |
Function
The Orient function rotates the image by 90-degree increments, resizing the
image frame if necessary. (For example, for 1 turn on a 300 x 600 frame,
it rotates it 90 degrees, and makes a 600 x 300 frame.) You can also apply
a
Flip node and Flop node to the image. To rotate in degrees, use a Rotate node or a Move2D node.
|
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