public class AFPObjectAreaInfo extends Object
Constructor and Description |
---|
AFPObjectAreaInfo(int x,
int y,
int width,
int height,
int resolution,
int rotation)
Constructor
|
Modifier and Type | Method and 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.
|
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()
Copyright © 2025 Apache Software Foundation. All rights reserved.