net.sourceforge.plantuml.graph2
Class RectanglesCollection

java.lang.Object
  extended by net.sourceforge.plantuml.graph2.RectanglesCollection
All Implemented Interfaces:
Iterable<Rectangle2D.Double>

public class RectanglesCollection
extends Object
implements Iterable<Rectangle2D.Double>


Constructor Summary
RectanglesCollection()
           
RectanglesCollection(Rectangle2D.Double rect)
           
 
Method Summary
 void add(Rectangle2D.Double rect)
           
 void addAll(RectanglesCollection other)
           
 double getSurf()
           
 boolean intersect(RectanglesCollection other)
           
 Iterator<Rectangle2D.Double> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectanglesCollection

public RectanglesCollection()

RectanglesCollection

public RectanglesCollection(Rectangle2D.Double rect)
Method Detail

getSurf

public double getSurf()

add

public void add(Rectangle2D.Double rect)

iterator

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

intersect

public boolean intersect(RectanglesCollection other)

size

public int size()

addAll

public void addAll(RectanglesCollection other)


Copyright © 2013. All Rights Reserved.