|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PDimension | |
|---|---|
| edu.umd.cs.piccolo.event | This package supports Piccolo event handlers. |
| edu.umd.cs.piccolo.util | This package defines several utility classes that are likely to be useful for Piccolo applications. |
| Uses of PDimension in edu.umd.cs.piccolo.event |
|---|
| Methods in edu.umd.cs.piccolo.event that return PDimension | |
|---|---|
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. |
| Uses of PDimension in edu.umd.cs.piccolo.util |
|---|
| Methods in edu.umd.cs.piccolo.util that return PDimension | |
|---|---|
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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||