public class IlvMapMultiArea extends IlvMapArea
IlvMapArea
.
The instances of this class can be
rendered by an IlvDefaultFeatureRenderer
or by an
IlvDefaultAreaRenderer
.Constructor and Description |
---|
IlvMapMultiArea()
Initializes an instance of the class.
|
Modifier and Type | Method and Description |
---|---|
void |
addArea(IlvMapArea area)
Adds an area to this
IlvMapMultiArea . |
boolean |
contains(IlvCoordinate c)
Returns
true if c is contained in the object. |
IlvMapArea |
getArea(int index)
Returns the area at the specified position.
|
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this
IlvMapGeometry |
int |
getCardinal()
Returns the number of areas.
|
IlvMapCurve |
getOutline()
Returns the outline of the area.
|
void |
removeAll()
Removes all the areas.
|
IlvMapArea |
removeArea(IlvMapArea area)
Removes the specified area and returns it.
|
public int getCardinal()
public IlvMapArea getArea(int index)
index
- The index that should be ranged between 0
and getCardinal() - 1
.IlvMapArea
object that should not be modified.public void addArea(IlvMapArea area)
IlvMapMultiArea
.
Since the area is not copied, the area should not be
modified after being added to the collection.area
- The area to be added.public IlvMapArea removeArea(IlvMapArea area)
area
- The area to be removed.public void removeAll()
public boolean contains(IlvCoordinate c)
true
if c
is contained in the object.contains
in class IlvMapArea
c
- The point to be checked.true
if c
is contained
in the object.public IlvMapCurve getOutline()
IlvMapMultiArea
changes.getOutline
in class IlvMapArea
IlvCurve
object that should not be
modified.public Rectangle2D getBounds(Rectangle2D result)
IlvMapGeometry
getBounds
in class IlvMapGeometry
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.