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 TypeMethodDescriptionvoidmoveCornerPoint2D(int aCorner, double aX, double aY) Moves the specified corner point to a new location.voidsetArcAngle(double aArcAngle) Sets the angle over which thisILcd2DEditableArcBandextends (in degrees).voidsetMaxRadius(double aMaxRadius) Sets the maximum radius of thisILcd2DEditableArcBand.voidsetMinRadius(double aMinRadius) Sets the minimum radius of thisILcd2DEditableArcBand.voidsetStartAngle(double aStartAngle) Sets the start angle of thisILcd2DEditableArcBand(in degrees).Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D, move2D, translate2DMethods inherited from interface com.luciad.shape.ILcdArcBand
corner2DEditablePointSFCT, getArcAngle, getCenter, getMaxRadius, getMinRadius, getStartAngleMethods inherited from interface com.luciad.shape.ILcdBounded
getBoundsMethods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods 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 thisILcd2DEditableArcBandextends (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.
-