Method from org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageFitRectangleDestination Detail: |
public int getBottom() {
return array.getInt( 3 );
}
Get the bottom y coordinate. A return value of -1 implies that the current y-coordinate
will be used. |
public int getLeft() {
return array.getInt( 2 );
}
Get the left x coordinate. A return value of -1 implies that the current x-coordinate
will be used. |
public int getRight() {
return array.getInt( 4 );
}
Get the right x coordinate. A return value of -1 implies that the current x-coordinate
will be used. |
public int getTop() {
return array.getInt( 5 );
}
Get the top y coordinate. A return value of -1 implies that the current y-coordinate
will be used. |
public void setBottom(int y) {
array.growToSize( 6 );
if( y == -1 )
{
array.set( 3, (COSBase)null );
}
else
{
array.setInt( 3, y );
}
}
Set the bottom y-coordinate, a value of -1 implies that the current y-coordinate
will be used. |
public void setLeft(int x) {
array.growToSize( 3 );
if( x == -1 )
{
array.set( 2, (COSBase)null );
}
else
{
array.setInt( 2, x );
}
}
Set the left x-coordinate, a value of -1 implies that the current x-coordinate
will be used. |
public void setRight(int x) {
array.growToSize( 6 );
if( x == -1 )
{
array.set( 4, (COSBase)null );
}
else
{
array.setInt( 4, x );
}
}
Set the right x-coordinate, a value of -1 implies that the current x-coordinate
will be used. |
public void setTop(int y) {
array.growToSize( 6 );
if( y == -1 )
{
array.set( 5, (COSBase)null );
}
else
{
array.setInt( 5, y );
}
}
Set the top y-coordinate, a value of -1 implies that the current y-coordinate
will be used. |