public class ChopDiamondConnector extends ChopRectangleConnector
Connector which locates a connection point at the bounds
of any figure which has a diamond shape, such as DiamondFigure.
| Constructor and Description |
|---|
ChopDiamondConnector() |
ChopDiamondConnector(Figure owner) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.geom.Point2D.Double |
chop(Figure target,
java.awt.geom.Point2D.Double from)
Return an appropriate connection point on the edge of a diamond figure
|
findEnd, findStartclone, contains, draw, findPoint, getAnchor, getBounds, getConnectorTarget, getDrawingArea, getOwner, isConnectToDecorator, read, setConnectToDecorator, setOwner, updateAnchor, updateEndLocation, updateStartLocation, writepublic ChopDiamondConnector()
public ChopDiamondConnector(Figure owner)
protected java.awt.geom.Point2D.Double chop(Figure target, java.awt.geom.Point2D.Double from)
chop in class ChopRectangleConnector