net.sourceforge.plantuml.geom
Class Point2DInt

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by net.sourceforge.plantuml.geom.Point2DInt
All Implemented Interfaces:
Cloneable, Pointable

public class Point2DInt
extends Point2D
implements Pointable


Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
 
Constructor Summary
Point2DInt(int x, int y)
           
 
Method Summary
 Point2DInt getPosition()
           
 double getX()
           
 int getXint()
           
 double getY()
           
 int getYint()
           
 Point2DInt inflateX(InflateData inflateData)
           
 Point2DInt inflateX(int xpos, int inflation)
           
 Point2DInt inflateY(InflateData inflateData)
           
 Point2DInt inflateY(int ypos, int inflation)
           
 void setLocation(double x, double y)
           
 String toString()
           
 Point2DInt translate(int deltaX, int deltaY)
           
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point2DInt

public Point2DInt(int x,
                  int y)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getXint

public int getXint()

getYint

public int getYint()

getX

public double getX()
Specified by:
getX in class Point2D

getY

public double getY()
Specified by:
getY in class Point2D

setLocation

public void setLocation(double x,
                        double y)
Specified by:
setLocation in class Point2D

getPosition

public Point2DInt getPosition()
Specified by:
getPosition in interface Pointable

translate

public Point2DInt translate(int deltaX,
                            int deltaY)

inflateX

public Point2DInt inflateX(int xpos,
                           int inflation)

inflateX

public Point2DInt inflateX(InflateData inflateData)

inflateY

public Point2DInt inflateY(InflateData inflateData)

inflateY

public Point2DInt inflateY(int ypos,
                           int inflation)


Copyright © 2013. All Rights Reserved.