public class AFPObjectAreaInfo
extends java.lang.Object
| Constructor | Description |
|---|---|
AFPObjectAreaInfo(int x,
int y,
int width,
int height,
int resolution,
int rotation) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getHeight() |
Returns the height of this data object
|
int |
getHeightRes() |
Returns the height resolution of this data object
|
int |
getRotation() |
Returns the rotation of this data object
|
int |
getWidth() |
Returns the width of this data object
|
int |
getWidthRes() |
Returns the width resolution of this data object
|
int |
getX() |
Returns the x coordinate of this data object
|
int |
getY() |
Returns the y coordinate of this data object
|
void |
setHeightRes(int resolution) |
Sets the height resolution.
|
void |
setResolution(int resolution) |
Sets both the width and the height resolutions.
|
void |
setWidthRes(int resolution) |
Sets the width resolution.
|
java.lang.String |
toString() |
public AFPObjectAreaInfo(int x,
int y,
int width,
int height,
int resolution,
int rotation)
x - the x coordinatey - the y coordinatewidth - the widthheight - the heightresolution - the resolution (sets both width and height resolutions)rotation - the rotation anglepublic void setResolution(int resolution)
resolution - the resolutionpublic void setWidthRes(int resolution)
resolution - the resolutionpublic void setHeightRes(int resolution)
resolution - the resolutionpublic int getX()
public int getY()
public int getWidth()
public int getHeight()
public int getWidthRes()
public int getHeightRes()
public int getRotation()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.