nodebox.graphics
Class Size

java.lang.Object
  extended by nodebox.graphics.Size
All Implemented Interfaces:
Iterable

public class Size
extends Object
implements Iterable


Constructor Summary
Size()
           
Size(Dimension2D d)
           
Size(double width, double height)
           
Size(Size sz)
           
 
Method Summary
 Size clone()
           
 boolean equals(Object o)
           
 Dimension2D getDimension2D()
           
 double getHeight()
           
 double getWidth()
           
 Iterator<Double> iterator()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Size

public Size()

Size

public Size(double width,
            double height)

Size

public Size(Size sz)

Size

public Size(Dimension2D d)
Method Detail

getWidth

public double getWidth()

getHeight

public double getHeight()

getDimension2D

public Dimension2D getDimension2D()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

iterator

public Iterator<Double> iterator()
Specified by:
iterator in interface Iterable

clone

public Size clone()
Overrides:
clone in class Object


Copyright © 2013. All Rights Reserved.