public class IlvMapEllipseRing extends Object implements IlvMapRingInterface
IlvMapEllipse
.
If the outline ellipse is not fully defined (its beginning angle is not 0,
neither its ending angle), this object defines a pie.
The instances of this class can be
rendered by an IlvDefaultFeatureRenderer
or by an
IlvDefaultAreaRenderer
.Constructor and Description |
---|
IlvMapEllipseRing(IlvMapEllipse 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. |
IlvMapEllipse |
getEllipse()
Returns the
IlvMapEllipse that represents the outline
of the object. |
IlvMapCurve |
getOutline()
Returns an
IlvMapCurve that represents the outline of this
IlvMapCircularRing . |
IlvMapEllipse |
setEllipse(IlvMapEllipse outline)
Sets the
IlvMapEllipse that represents the outline
of the object. |
public IlvMapEllipseRing(IlvMapEllipse 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 IlvMapEllipse getEllipse()
IlvMapEllipse
that represents the outline
of the object.public IlvMapEllipse setEllipse(IlvMapEllipse outline)
IlvMapEllipse
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 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.