net.sourceforge.plantuml
Class Dimension2DDouble

java.lang.Object
  extended by java.awt.geom.Dimension2D
      extended by net.sourceforge.plantuml.Dimension2DDouble
All Implemented Interfaces:
Cloneable

public class Dimension2DDouble
extends Dimension2D


Constructor Summary
Dimension2DDouble(double width, double height)
           
 
Method Summary
static Dimension2D delta(Dimension2D dim, double delta)
           
static Dimension2D delta(Dimension2D dim, double deltaWidth, double deltaHeight)
           
 double getHeight()
           
 double getWidth()
           
 void setSize(double width, double height)
           
 String toString()
           
 
Methods inherited from class java.awt.geom.Dimension2D
clone, setSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dimension2DDouble

public Dimension2DDouble(double width,
                         double height)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getHeight

public double getHeight()
Specified by:
getHeight in class Dimension2D

getWidth

public double getWidth()
Specified by:
getWidth in class Dimension2D

setSize

public void setSize(double width,
                    double height)
Specified by:
setSize in class Dimension2D

delta

public static Dimension2D delta(Dimension2D dim,
                                double delta)

delta

public static Dimension2D delta(Dimension2D dim,
                                double deltaWidth,
                                double deltaHeight)


Copyright © 2011. All Rights Reserved.