Uses of Class
edu.umd.cs.piccolo.PCamera
Packages that use PCamera
Package
Description
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
This package supports Piccolo event handlers.
This package defines several utility classes that are likely
to be useful for Piccolo applications.
-
Uses of PCamera in edu.umd.cs.piccolo
Methods in edu.umd.cs.piccolo that return PCameraModifier and TypeMethodDescriptionprotected PCameraPCanvas.createDefaultCamera()Creates and returns a basic Scene Graph.PCanvas.getCamera()Return the camera associated with this canvas.PLayer.getCamera(int index) Get the camera in this layer's camera list at the specified index.POffscreenCanvas.getCamera()Return the camera for this offscreen canvas.PLayer.removeCamera(int index) Remove the camera at the given index from this layer's camera list.PLayer.removeCamera(PCamera camera) Remove the camera from this layer's camera list.Methods in edu.umd.cs.piccolo with parameters of type PCameraModifier and TypeMethodDescriptionvoidAdd a camera to this layer's camera list at the specified index.voidAdd a camera to this layer's camera list.voidPInputManager.processEventFromCamera(InputEvent event, int type, PCamera camera) Flags the given event as needing to be processed.PLayer.removeCamera(PCamera camera) Remove the camera from this layer's camera list.voidSet the camera associated with this canvas.voidSet the camera for this offscreen canvas tocamera. -
Uses of PCamera in edu.umd.cs.piccolo.event
Methods in edu.umd.cs.piccolo.event that return PCameraModifier and TypeMethodDescriptionPInputEvent.getCamera()Return the bottom most camera that is currently painting.PInputEvent.getTopCamera()Return the topmost camera this is painting. -
Uses of PCamera in edu.umd.cs.piccolo.util
Methods in edu.umd.cs.piccolo.util that return PCameraModifier and TypeMethodDescriptionstatic PCameraPUtil.createBasicScenegraph()Creates the simplest possible scene graph.PPickPath.getBottomCamera()Get the bottom camera on the pick path.PPaintContext.getCamera()Returns the camera at the top of the camera stack, or null if stack is empty.PPickPath.getTopCamera()Get the top camera on the pick path.Methods in edu.umd.cs.piccolo.util with parameters of type PCameraModifier and TypeMethodDescriptionvoidDeprecated.in favor of popCamera()voidPPaintContext.pushCamera(PCamera aCamera) Pushes the camera onto the camera stack.Constructors in edu.umd.cs.piccolo.util with parameters of type PCamera