Package | Description |
---|---|
org.piccolo2d.event |
This package supports Piccolo event handlers.
|
org.piccolo2d.util |
This package defines several utility classes that are likely
to be useful for Piccolo applications.
|
Modifier and Type | Method and Description |
---|---|
PDimension |
PInputEvent.getCanvasDelta()
Return the delta between the last and current mouse position in PCanvas
coordinates.
|
PDimension |
PInputEvent.getDelta()
Return the delta between the last and current mouse positions transformed
through the view transform of the bottom camera.
|
PDimension |
PInputEvent.getDeltaRelativeTo(PNode nodeOnPath)
Return the delta between the last and current mouse positions relative to
a given node on the pick path.
|
Modifier and Type | Method and Description |
---|---|
PDimension |
PBounds.deltaRequiredToCenter(Rectangle2D targetBounds)
Returns the required translation in order for this bounds origin to sit
on the center of the provided rectangle.
|
PDimension |
PBounds.deltaRequiredToContain(Rectangle2D targetBounds)
Returns the required translation in order for these to contain the bounds
provided.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.