public class RoundedRectangleAnchor extends ChopboxAnchor
AncestorListener.Stublisteners| Constructor and Description |
|---|
RoundedRectangleAnchor(Figure figure,
Dimension corners)
Rounded Rectangle getCornerDimension should be public #302836 then
Rounded Rectangle would be sufficient.
|
RoundedRectangleAnchor(RoundedRectangle figure)
Rounded Rectangle getCornerDimension should be public #302836 then
Rounded Rectangle would be sufficient.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
getLocation(Point ref)
Calculates the position with ChopboxAnchor#getLocation() and if the
anchor is not at the rounded corners, the result is returned.
|
equals, getBox, getReferencePoint, hashCodeaddAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, removeAnchorListener, setOwnerfireAnchorMovedpublic RoundedRectangleAnchor(RoundedRectangle figure)
public Point getLocation(Point ref)
getLocation in interface ConnectionAnchorgetLocation in class ChopboxAnchorref - The reference pointCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.