|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCH.ifa.draw.figures.AbstractLineDecoration
org.openbp.cockpit.modeler.figures.generic.XArrowTip
public class XArrowTip
An arrow tip line decoration.
| Constructor Summary | |
|---|---|
XArrowTip()
Constructor. |
|
XArrowTip(double angle,
double outerRadius,
double innerRadius)
Value constructor. |
|
| Method Summary | |
|---|---|
double |
getAngle()
Gets the pointiness of arrow. |
double |
getInnerRadius()
Gets the inner radius. |
double |
getOuterRadius()
Gets the outer radius. |
java.awt.Polygon |
outline(int x1,
int y1,
int x2,
int y2)
Calculates the outline of an arrow tip. |
void |
read(CH.ifa.draw.util.StorableInput dr)
Reads the arrow tip from a StorableInput. |
void |
setAngle(double angle)
Sets the pointiness of arrow. |
void |
setInnerRadius(double innerRadius)
Sets the inner radius. |
void |
setOuterRadius(double outerRadius)
Sets the outer radius. |
void |
write(CH.ifa.draw.util.StorableOutput dw)
Stores the arrow tip to a StorableOutput. |
| Methods inherited from class CH.ifa.draw.figures.AbstractLineDecoration |
|---|
draw, getBorderColor, getFillColor, setBorderColor, setFillColor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XArrowTip()
public XArrowTip(double angle,
double outerRadius,
double innerRadius)
angle - Pointiness of arrowouterRadius - Outer radiusinnerRadius - Inner radius| Method Detail |
|---|
public java.awt.Polygon outline(int x1,
int y1,
int x2,
int y2)
outline in class CH.ifa.draw.figures.AbstractLineDecorationx1 - Arrow tipy1 - Arrow tipx2 - Arrow basey2 - Arrow base
public double getAngle()
public void setAngle(double angle)
public double getOuterRadius()
public void setOuterRadius(double outerRadius)
public double getInnerRadius()
public void setInnerRadius(double innerRadius)
public void write(CH.ifa.draw.util.StorableOutput dw)
write in interface CH.ifa.draw.util.Storablewrite in class CH.ifa.draw.figures.AbstractLineDecoration
public void read(CH.ifa.draw.util.StorableInput dr)
throws java.io.IOException
read in interface CH.ifa.draw.util.Storableread in class CH.ifa.draw.figures.AbstractLineDecorationjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||