Uses of Class
edu.umd.cs.piccolo.util.PDimension
Packages that use PDimension
Package
Description
This package supports Piccolo event handlers.
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 PDimensionModifier and TypeMethodDescriptionPInputEvent.getCanvasDelta()Return the delta between the last and current mouse position in PCanvas coordinates.PInputEvent.getDelta()Return the delta between the last and current mouse positions transformed through the view transform of the bottom camera.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 PDimensionModifier and TypeMethodDescriptionPBounds.deltaRequiredToCenter(Rectangle2D targetBounds) Returns the required translation in order for this bounds origin to sit on the center of the provided rectangle.PBounds.deltaRequiredToContain(Rectangle2D targetBounds) Returns the required translation in order for these to contain the bounds provided.