public class IlvMapCircle extends IlvMapCurve
IlvDefaultFeatureRenderer or by an
IlvDefaultCurveRenderer.| Constructor and Description |
|---|
IlvMapCircle(IlvCoordinate center,
double radius)
Initializes an instance of circle by specifying its center
and its radius.
|
IlvMapCircle(IlvCoordinate control1,
IlvCoordinate control2,
IlvCoordinate control3)
Initializes an instance of
IlvMapCircle
by giving the three different points that are on the circle. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this
IlvMapGeometry |
IlvCoordinate |
getCenter()
Returns the center of the circle.
|
double |
getRadius()
Returns the radius of the circle.
|
void |
setCenter(IlvCoordinate c)
Sets the center of the circle.
|
void |
setRadius(double r)
Sets the radius of the circle.
|
public IlvMapCircle(IlvCoordinate center, double radius)
center - The center of the circle.radius - The radius of the circle.public IlvMapCircle(IlvCoordinate control1, IlvCoordinate control2, IlvCoordinate control3)
IlvMapCircle
by giving the three different points that are on the circle.control1 - First control point.control2 - Second control point.control3 - Third control point.public IlvCoordinate getCenter()
public double getRadius()
public void setCenter(IlvCoordinate c)
c - The new center of the circle.public void setRadius(double r)
r - The new radius of the circle.public Rectangle2D getBounds(Rectangle2D result)
IlvMapGeometrygetBounds in class IlvMapGeometry© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.