|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.afp.AFPObjectAreaInfo
public class AFPObjectAreaInfo
A common class used to convey locations, dimensions and resolutions of data objects.
| Constructor Summary | |
|---|---|
AFPObjectAreaInfo(int x,
int y,
int width,
int height,
int resolution,
int rotation)
Constructor |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 angle| Method Detail |
|---|
public 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.Object
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||