|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiPart
com.swfm.mica.core.MiMultiPointShape
com.swfm.mica.shapes.Mi3PointArc
| Field Summary |
| Constructor Summary | |
Mi3PointArc()
|
|
Mi3PointArc(double x1,
double y1,
double x2,
double y2)
|
|
Mi3PointArc(MiPoint startPt,
MiPoint ctlPt)
|
|
| Method Summary | |
void |
calcPreferredSize(MiSize size)
Gets the preferred size of this MiPart. |
void |
copy(MiPart source)
Copies the given MiPart. |
double |
getEndAngle()
|
double |
getOrthoDistance()
|
double |
getPointEntryAngle(int pointNumber)
Get the angle of the shape as it enters the point with the given number. |
double |
getPointExitAngle(int pointNumber)
Get the angle of the shape as it exits the point with the given number. |
MiPoint |
getRelativeLocation(int pointNumber,
MiBounds boundsToPosition,
MiPoint pt,
MiMargins margins)
Gets location into given point and positions given bounds as specified by the given location. |
double |
getStartAngle()
|
double |
getSweptAngle()
|
boolean |
pick(MiBounds area)
Gets whether the given area intersects the bounds of this MiPart. |
void |
render(MiRenderer renderer)
|
void |
setOrthoDistance(double d)
|
java.lang.String |
toString()
Returns information about this MiPart. |
| Methods inherited from class com.swfm.mica.core.MiMultiPointShape |
appendPoint, appendPoints, getMaintainOrthogonality, getNumberOfPoints, getPoint, getPoint, getPointX, getPointY, getPropertyDescriptions, getPropertyValue, insertPoint, isHorizontal, isVertical, makeManipulator, removePoint, setMaintainOrthogonality, setNumberOfPoints, setPoint, setPropertyValue, translatePoint |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Mi3PointArc()
public Mi3PointArc(MiPoint startPt,
MiPoint ctlPt)
public Mi3PointArc(double x1,
double y1,
double x2,
double y2)
| Method Detail |
public double getStartAngle()
public double getEndAngle()
public double getSweptAngle()
public void setOrthoDistance(double d)
public double getOrthoDistance()
public double getPointExitAngle(int pointNumber)
getPointExitAngle in class MiMultiPointShapepublic double getPointEntryAngle(int pointNumber)
getPointEntryAngle in class MiMultiPointShapepublic void render(MiRenderer renderer)
renderer - the renderer to use for drawing
public MiPoint getRelativeLocation(int pointNumber,
MiBounds boundsToPosition,
MiPoint pt,
MiMargins margins)
MiPart
getRelativeLocation in class MiPartpointNumber - The location can be one of
the locations below, the
number of a point (i.e. a
value of 2 would attach the given
part to the 3rd point of a
polyline), or Mi_LAST_POINT_NUMBER.
Mi_CENTER_LOCATION
Mi_LEFT_LOCATION
Mi_RIGHT_LOCATION
Mi_BOTTOM_LOCATION
Mi_TOP_LOCATION
Mi_LOWER_LEFT_LOCATION
Mi_LOWER_RIGHT_LOCATION
Mi_UPPER_LEFT_LOCATION
Mi_UPPER_RIGHT_LOCATION
Mi_OUTSIDE_LEFT_LOCATION
Mi_OUTSIDE_RIGHT_LOCATION
Mi_OUTSIDE_BOTTOM_LOCATION
Mi_OUTSIDE_TOP_LOCATION
Mi_END_LOCATION
Mi_WNW_LOCATION
Mi_WSW_LOCATION
Mi_ENE_LOCATION
Mi_ESE_LOCATION
Mi_NWN_LOCATION
Mi_NEN_LOCATION
Mi_SWS_LOCATION
Mi_START_LOCATION
Mi_END_LOCATION
Mi_LINE_CENTER_LOCATION
Mi_LINE_CENTER_TOP_OR_RIGHT_LOCATION
Mi_LINE_CENTER_BOTTOM_OR_LEFT_LOCATION
Mi_LINE_START_LOCATION
Mi_LINE_START_TOP_OR_RIGHT_LOCATION
Mi_LINE_START_BOTTOM_OR_LEFT_LOCATION
Mi_LINE_END_LOCATION
Mi_LINE_END_TOP_OR_RIGHT_LOCATION
Mi_LINE_END_BOTTOM_OR_LEFT_LOCATION
Mi_LINE_AT_START_LOCATION
Mi_LINE_AT_END_LOCATION
Mi_SURROUND_LOCATIONboundsToPosition - the bounds to position
with respect to target at the
location specified by pointNumber.pt - public boolean pick(MiBounds area)
MiPart
pick in class MiPartarea - the area
public void calcPreferredSize(MiSize size)
MiPart
calcPreferredSize in class MiPartsize - the (returned) preferred sizepublic void copy(MiPart source)
copy in class MiMultiPointShapesource - the part to copyMiPart.copy()public java.lang.String toString()
toString in class MiMultiPointShape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||