public class ChopTriangleConnector extends ChopRectangleConnector
Connector
which locates a connection point at the bounds
of a TriangleFigure
.
Constructor and Description |
---|
ChopTriangleConnector()
Only used for DOMStorable input.
|
ChopTriangleConnector(TriangleFigure owner)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D.Double |
chop(Figure target,
java.awt.geom.Point2D.Double from) |
findEnd, findStart
clone, contains, draw, findPoint, getAnchor, getBounds, getConnectorTarget, getDrawingArea, getOwner, isConnectToDecorator, read, setConnectToDecorator, setOwner, updateAnchor, updateEndLocation, updateStartLocation, write
public ChopTriangleConnector()
public ChopTriangleConnector(TriangleFigure owner)
protected java.awt.geom.Point2D.Double chop(Figure target, java.awt.geom.Point2D.Double from)
chop
in class ChopRectangleConnector