protected abstract class AbstractShapeTool.AbstractShapeControls.AbstractShapeManipulationHandle extends AbstractShapeHandle
| Modifier and Type | Field and Description |
|---|---|
protected ShapePaint |
hoverPaint |
protected ShapePaint |
normalPaint |
protected java.awt.geom.Rectangle2D |
parentRect |
drawShape| Modifier | Constructor and Description |
|---|---|
protected |
AbstractShapeManipulationHandle() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustRelative(java.awt.geom.Point2D.Double location)
Adjust a point in 2d space relative to the interaction layer to be relative to the shape's parent
|
protected void |
initPaints() |
protected java.awt.Shape |
newDrawShape()
Called to create a new draw shape.
|
void |
paintHandle(java.awt.Graphics2D g,
boolean mouseOver,
boolean drag)
Gives the handle a chance to paint itself on the given graphics object.
|
getBounds, getStatusBarText, onClick, onDrag, onDragEnd, onDragStart, paintHandle, positionprotected ShapePaint normalPaint
protected ShapePaint hoverPaint
protected java.awt.geom.Rectangle2D parentRect
protected void initPaints()
public void paintHandle(java.awt.Graphics2D g,
boolean mouseOver,
boolean drag)
IHandleprotected java.awt.Shape newDrawShape()
AbstractShapeHandlenewDrawShape in class AbstractShapeHandleprotected void adjustRelative(java.awt.geom.Point2D.Double location)