GoToLinkSelection.Destination
public final class GoToLinkSelection.Destination
Creates a new instance of GoToLinkSelection.Destination using the page number, x coordinate, and y coordinate of the destination where goto link is directing, and the zoom factor of the page when goto link takes to the destination
Note: Here (0,0) represents top-left corner of the page.
Summary
Public constructors |
|---|
Destination( |
Public methods |
|
|---|---|
final int |
: Page number of the goto link Destination |
final float |
: X coordinate of the goto link Destination in points (1/ 72") |
final float |
: Y coordinate of the goto link Destination in points (1/ 72") |
final float |
getZoom(): Zoom factor of the page when goto link takes to the destination |
Public constructors
Destination
public Destination(
int pageNumber,
float xCoordinate,
float yCoordinate,
float zoom
)
| Parameters | |
|---|---|
int pageNumber |
: Page number of the goto link Destination |
float xCoordinate |
: X coordinate of the goto link Destination in points (1/ 72") |
float yCoordinate |
: Y coordinate of the goto link Destination in points (1/ 72") |
float zoom |
: Zoom factor of the page when goto link takes to the destination |
Public methods
getPageNumber
public final int getPageNumber()
: Page number of the goto link Destination
getXCoordinate
public final float getXCoordinate()
: X coordinate of the goto link Destination in points (1/ 72")
getYCoordinate
public final float getYCoordinate()
: Y coordinate of the goto link Destination in points (1/ 72")
getZoom
public final float getZoom()
: Zoom factor of the page when goto link takes to the destination