Uses of Class
edu.umd.cs.piccolo.activities.PTransformActivity
Packages that use PTransformActivity
Package
Description
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
-
Uses of PTransformActivity in edu.umd.cs.piccolo
Methods in edu.umd.cs.piccolo that return PTransformActivityModifier and TypeMethodDescriptionPNode.animateToPositionScaleRotation(double x, double y, double scale, double theta, long duration) Animate this node's transform from its current location when the activity starts to the specified location, scale, and rotation.PNode.animateToTransform(AffineTransform destTransform, long duration) Animate this node's transform from its current values when the activity starts to the new values specified in the given transform.PNode.animateTransformToBounds(double x, double y, double width, double height, long duration) Animate this node from it's current transform when the activity starts a new transform that will fit the node into the given bounds.PCamera.animateViewToCenterBounds(Rectangle2D centerBounds, boolean shouldScaleToFit, long duration) Animate the camera's view from its current transform when the activity starts to a new transform that centers the given bounds in the camera layer's coordinate system into the cameras view bounds.PCamera.animateViewToIncludeBounds(Rectangle2D includeBounds, long duration) Deprecated.Renamed to animateViewToPanToBoundsPCamera.animateViewToPanToBounds(Rectangle2D panToBounds, long duration) Pan the camera's view from its current transform when the activity starts to a new transform so that the view bounds will contain (if possible, intersect if not possible) the new bounds in the camera layers coordinate system.PCamera.animateViewToTransform(AffineTransform destination, long duration) Animate the cameras view transform from its current value when the activity starts to the new destination transform value.