Package | Description |
---|---|
org.piccolo2d |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
Modifier and Type | Method and Description |
---|---|
PTransformActivity |
PNode.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.
|
PTransformActivity |
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.
|
PTransformActivity |
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.
|
PTransformActivity |
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.
|
PTransformActivity |
PCamera.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.
|
PTransformActivity |
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.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.