Uses of Class
edu.umd.cs.piccolo.util.PBounds
Packages that use PBounds
Package
Description
Piccolo is a general-purpose Java-based engine that supports 2D visualizations.
This package defines several utility classes that are likely
to be useful for Piccolo applications.
-
Uses of PBounds in edu.umd.cs.piccolo
Methods in edu.umd.cs.piccolo that return PBoundsModifier and TypeMethodDescriptionPNode.computeFullBounds(PBounds dstBounds) Compute and return the full bounds of this node.PNode.getBounds()Return a copy of this node's bounds.PNode.getBoundsReference()Return a direct reference to this node's bounds.PNode.getFullBounds()Return a copy of this node's full bounds.PNode.getFullBoundsReference()Return a reference to this node's full bounds cache.PNode.getGlobalBounds()Return a copy of the bounds of this node in the global coordinate system.PNode.getGlobalFullBounds()Return a copy of the full bounds of this node in the global coordinate system.PNode.getUnionOfChildrenBounds(PBounds dstBounds) Compute and return the union of the full bounds of all the children of this node.PCamera.getUnionOfLayerFullBounds()Return the union of the full bounds of each layer in the list of layers viewed by this camera, or empty bounds if the list of layers viewed by this camera is empty.PCamera.getViewBounds()Return the bounds of this camera in the view coordinate system.Methods in edu.umd.cs.piccolo with parameters of type PBoundsModifier and TypeMethodDescriptionPNode.computeFullBounds(PBounds dstBounds) Compute and return the full bounds of this node.PNode.getUnionOfChildrenBounds(PBounds dstBounds) Compute and return the union of the full bounds of all the children of this node.protected voidPLayer.notifyCameras(PBounds parentBounds) Dispatches repaint notification to all registered cameras.voidCalled to notify PComponent that given bounds need repainting.voidCalled to notify PComponent that given bounds need repainting.voidCalled to notify PComponent that given bounds need repainting.voidPCamera.repaintFrom(PBounds localBounds, PNode sourceNode) Repaint this camera and forward the repaint request to the component for this camera, if it is non-null.voidPLayer.repaintFrom(PBounds localBounds, PNode repaintSource) Override repaints and forward them to the cameras that are viewing this layer.voidPNode.repaintFrom(PBounds localBounds, PNode childOrThis) Pass the given repaint request up the tree, so that any cameras can invalidate that region on their associated canvas.voidPCamera.repaintFromLayer(PBounds viewBounds, PLayer repaintedLayer) Repaint from one of the camera's layers.voidPCamera.repaintFromLayer(PBounds viewBounds, PNode repaintedLayer) Deprecated. -
Uses of PBounds in edu.umd.cs.piccolo.util
Methods in edu.umd.cs.piccolo.util that return PBoundsModifier and TypeMethodDescriptionPPickPath.getPickBounds()Returns the bounds of the entire PickPath taken as a whole.PBounds.inset(double dx, double dy) Adjust the measurements of this bounds so that they are the amounts given "in" from their previous border.PBounds.moveBy(double dx, double dy) Translates the bounds by the given deltas.PBounds.reset()Flags this bounds as empty.PBounds.resetToZero()Resets the bounds to (0,0,0,0) and flags it as empty.PBounds.setOrigin(double x, double y) Changes the origin of these bounds.Methods in edu.umd.cs.piccolo.util with parameters of type PBoundsModifier and TypeMethodDescriptionvoidChanges this bounds to contain the provided bounds.voidSets the bounds to the same shape as the bounds provided.Constructors in edu.umd.cs.piccolo.util with parameters of type PBounds
PCamera.repaintFromLayer(PBounds, PLayer).