public class CPDFDestination
extends java.lang.Object
Constructor and Description |
---|
CPDFDestination(int pageIndex,
float position_x,
float position_y,
float zoom) |
Modifier and Type | Method and Description |
---|---|
protected CPDFDestination |
clone() |
boolean |
equals(java.lang.Object o) |
int |
getPageIndex()
Gets destination page index.
|
float |
getPosition_x()
Gets the x coordinate of the specified page.
|
float |
getPosition_y()
Gets the y coordinate of the specified page.
|
float |
getZoom()
Gets the page zoom ratio
|
int |
hashCode() |
void |
setPageIndex(int pageIndex)
Sets destination page index.
|
void |
setPosition_x(float position_x)
Sets the x coordinate of the specified page.
|
void |
setPosition_y(float position_y)
Sets the y coordinate of the specified page.
|
void |
setZoom(float zoom)
Sets the page zoom ratio
|
java.lang.String |
toString() |
public CPDFDestination(int pageIndex, float position_x, float position_y, float zoom)
public int getPageIndex()
public void setPageIndex(int pageIndex)
pageIndex
- Page index.public float getPosition_x()
public void setPosition_x(float position_x)
position_x
- The x coordinate of the specified page.public float getPosition_y()
public void setPosition_y(float position_y)
position_y
- The y coordinate of the specified page.public float getZoom()
public void setZoom(float zoom)
zoom
- Page zoom ratiopublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected CPDFDestination clone()
clone
in class java.lang.Object