public final class IlvRegion extends Object implements Serializable
Constructor and Description |
---|
IlvRegion()
Creates an empty region.
|
Modifier and Type | Method and Description |
---|---|
void |
add(IlvRect rect)
Adds a rectangle in the region.
|
IlvRect |
boundingBox()
Returns the smallest rectangle containing all the rectangles of the region.
|
Enumeration<IlvRect> |
elements()
Returns an
Enumeration on all the rectangles of the region. |
void |
empty()
Removes all the rectangles of the region.
|
int |
getCardinal()
Returns the number of rectangles in the region.
|
IlvRect |
getRectAt(int index)
Returns the rectangle at the specified index.
|
boolean |
isEmpty()
Returns
true if the region is empty. |
public IlvRect boundingBox()
public int getCardinal()
public IlvRect getRectAt(int index)
public void add(IlvRect rect)
public void empty()
public boolean isEmpty()
true
if the region is empty.public Enumeration<IlvRect> elements()
Enumeration
on all the rectangles of the region.IlvRect
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.