Package com.luciad.shape.shape2D
Interface ILcd2DEditableArcBand
- All Superinterfaces:
Cloneable
,ILcd2DEditableShape
,ILcdArcBand
,ILcdBounded
,ILcdCloneable
,ILcdShape
,Serializable
- All Known Subinterfaces:
ILcdEditableSector
- All Known Implementing Classes:
TLcdAISArcBand
,TLcdFeaturedSector
,TLcdLonLatArcBand
,TLcdNVG15ArcBand
,TLcdNVG20ArcBandRing
,TLcdSector
,TLcdXYArcBand
An
ILcd2DEditableArcBand
object is an ILcdArcBand
that can be changed in two dimensions.-
Field Summary
Fields inherited from interface com.luciad.shape.ILcdArcBand
MAX_RADIUS_END_CORNER, MAX_RADIUS_START_CORNER, MIN_RADIUS_END_CORNER, MIN_RADIUS_START_CORNER
-
Method Summary
Modifier and TypeMethodDescriptionvoid
moveCornerPoint2D
(int aCorner, double aX, double aY) Moves the specified corner point to a new location.void
setArcAngle
(double aArcAngle) Sets the angle over which thisILcd2DEditableArcBand
extends (in degrees).void
setMaxRadius
(double aMaxRadius) Sets the maximum radius of thisILcd2DEditableArcBand
.void
setMinRadius
(double aMinRadius) Sets the minimum radius of thisILcd2DEditableArcBand
.void
setStartAngle
(double aStartAngle) Sets the start angle of thisILcd2DEditableArcBand
(in degrees).Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2D
Methods inherited from interface com.luciad.shape.ILcdArcBand
corner2DEditablePointSFCT, getArcAngle, getCenter, getMaxRadius, getMinRadius, getStartAngle
Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
-
Method Details
-
setMinRadius
void setMinRadius(double aMinRadius) Sets the minimum radius of thisILcd2DEditableArcBand
.- Parameters:
aMinRadius
- the new minimum radius.
-
setMaxRadius
void setMaxRadius(double aMaxRadius) Sets the maximum radius of thisILcd2DEditableArcBand
.- Parameters:
aMaxRadius
- the new maximum radius.
-
setStartAngle
void setStartAngle(double aStartAngle) Sets the start angle of thisILcd2DEditableArcBand
(in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.- Parameters:
aStartAngle
- the new start angle.
-
setArcAngle
void setArcAngle(double aArcAngle) Sets the angle over which thisILcd2DEditableArcBand
extends (in degrees). The angle is positive counter-clockwise.- Parameters:
aArcAngle
- the new arc angle.
-
moveCornerPoint2D
void moveCornerPoint2D(int aCorner, double aX, double aY) Moves the specified corner point to a new location. The shape of the arc band changes accordingly.- Parameters:
aCorner
- a constant indicating which corner is to be moved:ILcdArcBand.MIN_RADIUS_START_CORNER
,ILcdArcBand.MAX_RADIUS_START_CORNER
,ILcdArcBand.MIN_RADIUS_END_CORNER
, orILcdArcBand.MAX_RADIUS_END_CORNER
.aX
- the new x coordinate of the point.aY
- the new y coordinate of the point.
-