Package | Description |
---|---|
org.piccolo2d |
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
|
org.piccolo2d.util |
This package defines several utility classes that are likely
to be useful for Piccolo applications.
|
Modifier and Type | Method and Description |
---|---|
PAffineTransform |
PNode.getGlobalToLocalTransform(PAffineTransform dest)
Return the transform that converts global coordinates to local
coordinates of this node.
|
PAffineTransform |
PNode.getInverseTransform()
Return an inverted copy of the transform associated with this node.
|
PAffineTransform |
PNode.getLocalToGlobalTransform(PAffineTransform dest)
Return the transform that converts local coordinates at this node to the
global coordinate system.
|
PAffineTransform |
PNode.getTransform()
Return a copy of the transform associated with this node.
|
PAffineTransform |
PNode.getTransformReference(boolean createNewTransformIfNull)
Return a reference to the transform associated with this node.
|
PAffineTransform |
PCamera.getViewTransform()
Return a copy of the view transform applied to the list of layers
viewed by this camera.
|
PAffineTransform |
PCamera.getViewTransformReference()
Return a reference to the view transform applied to the list of layers
viewed by this camera.
|
Modifier and Type | Method and Description |
---|---|
PAffineTransform |
PNode.getGlobalToLocalTransform(PAffineTransform dest)
Return the transform that converts global coordinates to local
coordinates of this node.
|
PAffineTransform |
PNode.getLocalToGlobalTransform(PAffineTransform dest)
Return the transform that converts local coordinates at this node to the
global coordinate system.
|
Modifier and Type | Method and Description |
---|---|
PAffineTransform |
PAffineTransformException.getErrantTransform()
Used to access the transform related to this exception.
|
PAffineTransform |
PPickPath.getPathTransformTo(PNode nodeOnPath)
Calculates the context at which the given node is being interacted with.
|
Modifier and Type | Method and Description |
---|---|
void |
PPickPath.popTransform(PAffineTransform transform)
Pops the top most transform from the pick path.
|
void |
PPaintContext.popTransform(PAffineTransform transform)
Pops the topmost Transform from the top of the transform if the passed in
transform is not null.
|
void |
PPickPath.pushTransform(PAffineTransform transform)
Adds the transform to the pick path's transform.
|
void |
PPaintContext.pushTransform(PAffineTransform transform)
Pushed the provided transform onto the transform stack if it is not null.
|
Constructor and Description |
---|
PAffineTransformException(PAffineTransform errantTransform)
Constructs an Exception that represents an error with the
errantTransform.
|
PAffineTransformException(String message,
PAffineTransform errantTransform)
Constructs an Exception that represents an error with the
errantTransform.
|
PAffineTransformException(String message,
Throwable throwable,
PAffineTransform errantTransform)
Constructs an Exception that wraps another and records the errant
transform and provides a human readable message about the exception's
context.
|
PAffineTransformException(Throwable throwable,
PAffineTransform errantTransform)
Constructs an Exception that wraps another and records the errant
transform.
|
Copyright © 1995-2013 Piccolo2D. All Rights Reserved.