public class IlvMapCircularRing extends Object implements IlvMapRingInterface
IlvMapCircle
.
The instances of this class can be
rendered by an IlvDefaultFeatureRenderer
or by an
IlvDefaultAreaRenderer
.Constructor and Description |
---|
IlvMapCircularRing(IlvMapCircle outline)
Initializes an instance of the class with its outline.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IlvCoordinate c)
Returns
true if coordinate is contained in the object. |
IlvMapCircle |
getCircle()
Returns the
IlvMapCircle that represents the outline
of the object. |
IlvMapCurve |
getOutline()
Returns an
IlvMapCurve that represents the outline of this
IlvMapCircularRing . |
IlvMapCircle |
setCircle(IlvMapCircle outline)
Sets the
IlvMapCircle that represents the outline
of the object. |
public IlvMapCircularRing(IlvMapCircle outline)
outline
- The outline. This parameter should not be null.
Since the outline
parameter is no copied, this parameter
should not be modified after being passed to the constructor.public IlvMapCircle getCircle()
IlvMapCircle
that represents the outline
of the object.public IlvMapCircle setCircle(IlvMapCircle outline)
IlvMapCircle
that represents the outline
of the object.outline
- The new stroke.
Since the outline
parameter is not copied, this parameter
should not be modified after being set.public IlvMapCurve getOutline()
IlvMapCurve
that represents the outline of this
IlvMapCircularRing
. In this case, the stroke is an instance
of IlvMapCircle
.
IlvMapCircularRing
changes.getOutline
in interface IlvMapRingInterface
IlvCurve
object that should not be modified.public boolean contains(IlvCoordinate c)
true
if coordinate
is contained in the object.contains
in interface IlvMapRingInterface
c
- The point to be checked.true
if the specified point is contained in the object.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.