net.sf.jasperreports.engine.export.draw
Class Offset

java.lang.Object
  extended by net.sf.jasperreports.engine.export.draw.Offset

public class Offset
extends java.lang.Object

Drawing offset used by the print element draw visitor.

Version:
$Id: Offset.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
PrintDrawVisitor

Constructor Summary
Offset(int x, int y)
          Creates an offset object.
 
Method Summary
 int getX()
          Returns the horizontal offset.
 int getY()
          Returns the vertical offset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Offset

public Offset(int x,
              int y)
Creates an offset object.

Parameters:
x - the horizontal offset
y - the vertical offset
Method Detail

getX

public int getX()
Returns the horizontal offset.

Returns:
the horizontal offset

getY

public int getY()
Returns the vertical offset.

Returns:
the vertical offset


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com