net.sf.jasperreports.engine.export.draw

## Class Offset

- java.lang.Object
- - 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 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
  See Also:
    `PrintDrawVisitor`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Offset(int x, int y)` Creates an offset object.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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