Untitled
public text v1 · immutable /**
* Apply this function to an image
*/
public void apply(OFImage image)
{
int height = image.getHeight();
int width = image.getWidth();
//Rotate the image
Graphics2D g = (Graphics2D) image.createGraphics();
g.rotate(Math.PI / 2);
g.drawImage(image, 0,0,null);