protected class ScaleControls.WResizeHandle extends ScaleControls.AbstractResizeHandle
hoverPaint, normalPaint
drawShape
Constructor and Description |
---|
WResizeHandle() |
WResizeHandle(ShapePaint normal,
ShapePaint hover) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Shape |
newDrawShape()
Called to create a new draw shape.
|
protected void |
position(java.awt.geom.Point2D.Double location)
Updates the argument location with the correct position of this handle's anchor point.
|
protected void |
resizeAnchor(java.awt.geom.Point2D.Double location)
Update the point to the location of the resize anchor.
|
getStatusBarText, onDrag, onDragEnd, onDragStart, paintHandle
getBounds, onClick, paintHandle
public WResizeHandle()
public WResizeHandle(ShapePaint normal, ShapePaint hover)
protected java.awt.Shape newDrawShape()
AbstractShapeHandle
newDrawShape
in class AbstractShapeHandle
protected void position(java.awt.geom.Point2D.Double location)
AbstractShapeHandle
position
in class AbstractShapeHandle
protected void resizeAnchor(java.awt.geom.Point2D.Double location)
ScaleControls.AbstractResizeHandle