Class Offset


  • public class Offset
    extends Object
    Drawing offset used by the print element draw visitor.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    See Also:
    PrintDrawVisitor
    • 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