public class SLinkArc extends SLink implements XJXMLSerializable
| Modifier and Type | Field and Description |
|---|---|
protected CubicCurve2D.Double |
cubic |
protected QuadCurve2D.Double |
quad |
protected Shape |
shape |
arrow, arrowVisible, color, direction, end, endDirection, endOffset, endTangentOffset, endWithOffset, flateness, label, selfLoop, start, startDirection, startOffset, startTangentOffset, startWithOffset| Constructor and Description |
|---|
SLinkArc() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y) |
boolean |
contains(PathIterator iterator,
double x,
double y) |
void |
draw(Graphics2D g) |
void |
drawShape(Graphics2D g) |
void |
setFlatenessByMouse(Vector2D mouse) |
void |
setMouse(Point mouse) |
void |
setMouse(Vector2D mouse) |
void |
setMousePosition(Vector2D position) |
void |
update() |
computeOffsets, getArrow, getColor, getDirection, getEnd, getEndDirection, getEndOffset, getEndTangentOffset, getEndWithOffset, getFlateness, getFrame, getLabel, getStart, getStartDirection, getStartOffset, getStartTangentOffset, getStartWithOffset, isLabelVisible, isSelfLoop, setArrow, setArrowVisible, setColor, setDirection, setEnd, setEnd, setEnd, setEndAnchor, setEndDirection, setEndOffset, setEndTangentOffset, setFlateness, setLabel, setLabel, setLabelColor, setLabelVisible, setSelfLoop, setStart, setStart, setStartAnchor, setStartDirection, setStartOffset, setStartTangentOffsetprotected transient QuadCurve2D.Double quad
protected transient CubicCurve2D.Double cubic
protected transient Shape shape
public void setMouse(Point mouse)
public void setMouse(Vector2D mouse)
public void setFlatenessByMouse(Vector2D mouse)
public void setMousePosition(Vector2D position)
setMousePosition in class SLinkpublic boolean contains(PathIterator iterator, double x, double y)
public void draw(Graphics2D g)
public void drawShape(Graphics2D g)
Copyright © 2013. All rights reserved.