public static class MRectanglePoint.Sticky extends MRectanglePoint
MRectanglePoint.Sticky
parentRect, positionInRect
TRANSFORM_DISTORT
Modifier | Constructor and Description |
---|---|
|
Sticky(MRectangle r,
int pos)
Constructor.
|
protected |
Sticky(MRectanglePoint p)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
MRectanglePoint.Sticky |
clone()
Creates a clone.
|
void |
getLocation(DPoint3 q,
CTransform3D trot)
Gets the location.
|
addNotify, equals, getParentRect, getPositionInRect, isChildOf, isSelectableNow, isTransformable, removeNotify, setLocation, toString, transform
calcCenter, distanceFrom, getLocation, getLocation, getPoint, getPointCount, getPointRef, getPointRefCount, hashCode, isInternalSelectable
addAttributeKeys, addCdataAttributeKeys, checkValidity, connectToSgroupOfAtom, containsAtom, containsPoint, distanceFrom, finishCloning, fixClonedPoints, getAttribute, getBackground, getColor, getContainerMObject, getLineColor, hasBackground, hasColor, hasLineColor, isEmpty, isReactionArrow, isSelected, makeColor, removeAtom, removeChild, replaceAtom, setAttribute, setBackground, setColor, setLineColor, setSelected, unselectContents, updateBoundingRect, updateBoundingRect
public Sticky(MRectangle r, int pos)
r
- the parent rectanglepos
- the positionprotected Sticky(MRectanglePoint p)
p
- the pointpublic MRectanglePoint.Sticky clone()
MObject
clone
in class MRectanglePoint
public void getLocation(DPoint3 q, CTransform3D trot)
getLocation
in class MPoint
q
- the output point objecttrot
- the viewing transformation or null