com.notuvy.image
Class RotatedImage

java.lang.Object
  extended by com.notuvy.image.RotatedImage

public class RotatedImage
extends Object

A utility that takes an original image and rotates it 90 degrees either clockwise or counter-clockwise.

Version:
$Id: RotatedImage.java,v 1.1 2006/06/22 04:01:56 murali Exp $
Author:
murali

Nested Class Summary
static class RotatedImage.Angle
           
static class RotatedImage.Left
           
static class RotatedImage.Right
           
 
Field Summary
protected static DecimalFormat FORMAT
           
static RotatedImage.Angle LEFT
           
static RotatedImage.Angle RIGHT
           
 
Constructor Summary
protected RotatedImage(BufferedImage pOriginal, RotatedImage.Angle pType)
           
 
Method Summary
protected  void clear()
           
protected  double getAngle()
           
protected  BufferedImage getImage()
           
protected  int getNewHeight()
           
protected  int getNewWidth()
           
protected  int getOrigHeight()
           
protected  BufferedImage getOriginal()
           
protected  int getOrigWidth()
           
protected  void initialize()
           
protected  void initializeOriginal(BufferedImage pOriginal)
           
 void setImage(BufferedImage pImage)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FORMAT

protected static final DecimalFormat FORMAT

RIGHT

public static final RotatedImage.Angle RIGHT

LEFT

public static final RotatedImage.Angle LEFT
Constructor Detail

RotatedImage

protected RotatedImage(BufferedImage pOriginal,
                       RotatedImage.Angle pType)
Method Detail

getOriginal

protected BufferedImage getOriginal()

getAngle

protected double getAngle()

getImage

protected BufferedImage getImage()

getOrigWidth

protected int getOrigWidth()

getOrigHeight

protected int getOrigHeight()

getNewWidth

protected int getNewWidth()

getNewHeight

protected int getNewHeight()

setImage

public void setImage(BufferedImage pImage)

initialize

protected void initialize()

initializeOriginal

protected void initializeOriginal(BufferedImage pOriginal)

toString

public String toString()
Overrides:
toString in class Object

clear

protected void clear()


Copyright © 2013. All Rights Reserved.