public class RoundedRectangleAnchor extends ChopboxAnchor
AncestorListener.Stub
listeners
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, hashCode
addAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, removeAnchorListener, setOwner
fireAnchorMoved
public RoundedRectangleAnchor(RoundedRectangle figure)
public Point getLocation(Point ref)
getLocation
in interface ConnectionAnchor
getLocation
in class ChopboxAnchor
ref
- The reference pointCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.