public interface ILcd2DEditableArc extends ILcdArc, ILcd2DEditableShape
ILcd2DEditableArc
object is an ILcdArc
that can be changed in two dimensions.ARC_END_CORNER, ARC_START_CORNER, MAJOR_RADIUS_CORNER, MAJOR_RADIUS_OPPOSITE_CORNER, MINOR_RADIUS_CORNER, MINOR_RADIUS_OPPOSITE_CORNER
Modifier and Type | Method and Description |
---|---|
void |
setA(double aA)
Sets the length of the semi-major axis.
|
void |
setArcAngle(double aArcAngle)
Sets the angle over which the arc extends (in degrees).
|
void |
setB(double aB)
Sets the length of the semi-minor axis.
|
void |
setRotAngle(double aRotAngle)
Sets the rotation angle of the major axis (in degrees).
|
void |
setStartAngle(double aStartAngle)
Sets the start angle of the arc (in degrees).
|
void |
updateForCornerPoint2D(int aCorner,
ILcdPoint aPoint)
Updates the arc for the specified corner point location.
|
corner2DEditablePointSFCT, getA, getArcAngle, getB, getCenter, getRotAngle, getStartAngle
move2D, move2D, translate2D
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void setA(double aA)
aA
- the new length.void setB(double aB)
aB
- the new length.void setRotAngle(double aRotAngle)
aRotAngle
- the new rotation angle.void setStartAngle(double aStartAngle)
aStartAngle
- the new start angle.void setArcAngle(double aArcAngle)
aArcAngle
- the new arc angle.void updateForCornerPoint2D(int aCorner, ILcdPoint aPoint)
aCorner
- a constant indicating which corner is to be moved:
ILcdArc.MAJOR_RADIUS_CORNER
,
ILcdArc.MINOR_RADIUS_CORNER
,
ILcdArc.MAJOR_RADIUS_OPPOSITE_CORNER
,
ILcdArc.MINOR_RADIUS_OPPOSITE_CORNER
,
ILcdArc.ARC_START_CORNER
, or
ILcdArc.ARC_END_CORNER
.aPoint
- the new coordinate of the point.