com.arctorus.documents
Class CropFormat

java.lang.Object
  extended by com.arctorus.documents.CropFormat

public final class CropFormat
extends java.lang.Object

Defines how to crop image frame. All values are in points.


Constructor Summary
CropFormat()
           
 
Method Summary
 double getBottom()
          Gets number of points to crop from the bottom of an image.
 double getLeft()
          Gets number of points to crop from the left side of an image.
 double getRight()
          Gets number of points to crop from the right side of an image.
 double getTop()
          Gets number of points to crop from the top of an image.
 void setBottom(double bottom)
          Sets number of points to crop from the bottom of an image.
 void setLeft(double left)
          Sets number of points to crop from the left side of an image.
 void setRight(double right)
          Sets number of points to crop from the right side of an image.
 void setTop(double top)
          Sets number of points to crop from the top of an image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CropFormat

public CropFormat()
Method Detail

getLeft

public double getLeft()
Gets number of points to crop from the left side of an image.


setLeft

public void setLeft(double left)
Sets number of points to crop from the left side of an image.

Parameters:
left - number of points to crop

getRight

public double getRight()
Gets number of points to crop from the right side of an image.


setRight

public void setRight(double right)
Sets number of points to crop from the right side of an image.

Parameters:
right - number of points to crop

getTop

public double getTop()
Gets number of points to crop from the top of an image.


setTop

public void setTop(double top)
Sets number of points to crop from the top of an image.

Parameters:
top - number of points to crop

getBottom

public double getBottom()
Gets number of points to crop from the bottom of an image.


setBottom

public void setBottom(double bottom)
Sets number of points to crop from the bottom of an image.

Parameters:
bottom - number of points to crop