Piccolo.NET

PCacheCamera Methods

The methods of the PCacheCamera class are listed below. For a complete list of PCacheCamera class members, see the PCacheCamera Members topic.

Public Instance Methods

AddActivity (inherited from PNode) Schedule the given activity with the root.
AddChild (inherited from PNode)Overloaded. Add a node to be a new child of this node at the specified index.
AddChildren (inherited from PNode)Overloaded. Add a collection of nodes to be children of this node.
AddInputEventListener (inherited from PNode) Adds the specified input event listener to receive input events from this node.
AddLayer (inherited from PCamera)Overloaded. Add the layer at the given index in this camera's list of layers. Layers may be viewed by multiple cameras at once.
AnimateMatrixToBounds (inherited from PNode) Animate this node from it's current matrix when the activity starts a new matrix that will fit the node into the given bounds.
AnimateStaticViewToCenterBoundsFast Mimics the standard AnimateViewToCenterBounds but uses a cached image for performance rather than re-rendering the scene at each step
AnimateToBounds (inherited from PNode) Animate this node's bounds from their current location when the activity starts to the specified bounds.
AnimateToColor (inherited from PNode) Animate this node's color from its current value to the new value specified.
AnimateToMatrix (inherited from PNode) Animate this node's matrix from its current values when the activity starts to the new values specified in the given matrix.
AnimateToPositionScaleRotation (inherited from PNode) Animate this node's matrix from its current location when the activity starts to the specified location, scale, and rotation.
AnimateViewToCenterBounds (inherited from PCamera) Animate the camera's view from its current matrix when the activity starts to a new matrix that centers the given bounds in the camera layers' coordinate system into the camera's view bounds.
AnimateViewToMatrix (inherited from PCamera) Animate the camera's view matrix from its current value when the activity starts to the new destination matrix value.
AnimateViewToPanToBounds (inherited from PCamera) Pan the camera's view from its current matrix when the activity starts to a new matrix so that the view bounds will contain (if possible, intersect if not possible) the new bounds in the camera layers' coordinate system.
ApplyViewConstraints (inherited from PCamera) Applies a previously set constraint to the camera's view matrix.
CenterBoundsOnPoint (inherited from PNode) Adjust the bounds of this node so that they are centered on the given point specified in the local coordinate system of this node.
CenterFullBoundsOnPoint (inherited from PNode) Adjust the full bounds of this node so that they are centered on the given point specified in the local coordinates of this node's parent.
Clone (inherited from PNode) The copy method copies this node and all of its descendents.
ComputeFullBounds (inherited from PNode) Compute and return the full bounds of this node.
EndResizeBounds (inherited from PNode) Notify this node that you have finished a resize bounds sequence.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindIntersectingNodes (inherited from PNode) Checks this node and it's descendents for intersection with the given bounds and adds any intersecting nodes to the given list.
FullIntersects (inherited from PNode) Return true if the full bounds of this node intersect with the specified bounds.
FullPaint Overridden. Does fast rendering when possible.
FullPick (inherited from PNode) Try to pick this node and all of its descendents.
GetAllNodes (inherited from PNode) Gets a list containing the subset of this node and all of its descendent nodes that are accepted by the given node filter.
GetChild (inherited from PNode) Return the child node at the specified index.
GetEnumerator (inherited from PNode) Return an enumerator for this node’s direct descendent children.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLayer (inherited from PCamera) Return the layer at the specified index.
GetObjectData (inherited from PCamera) Overridden. Write this camera and all its children to the given SerializationInfo.
GetType (inherited from Object)Gets the Type of the current instance.
GlobalToLocal (inherited from PNode)Overloaded. Transform the given rectangle from global coordinates to this node's local coordinate system.
IndexOfChild (inherited from PNode) Return the index where the given child is stored.
IndexOfLayer (inherited from PCamera) Return the index where the given layer is stored.
Intersects (inherited from PNode) Return true if this node intersects the given rectangle specified in local bounds.
InvalidateFullBounds (inherited from PNode) Invalidates the full bounds of this node, and sets the child bounds invalid flag on each of this node's ancestors.
InvalidateLayout (inherited from PNode) Invalidate this node's layout, so that later LayoutChildren will get called.
InvalidatePaint (inherited from PNode) Invalidate this node's paint, and mark all of its ancestors as having a node with invalid paint.
IsAncestorOf (inherited from PNode) Return true if this node is an ancestor of the parameter node.
IsDescendentOf (inherited from PNode) Return true if this node is a descendent of the parameter node.
IsDescendentOfRoot (inherited from PNode) Return true if this node is a descendent of the Root.
IsOpaque (inherited from PNode) 
LayoutChildren (inherited from PNode) Nodes that apply layout constraints to their children should override this method and do the layout there.
LocalToGlobal (inherited from PNode)Overloaded. Transform the given rectangle from this node's local coordinate system to the global coordinate system.
LocalToParent (inherited from PNode)Overloaded. Transform the given rectangle from this node's local coordinate system to its parent's local coordinate system.
LocalToView (inherited from PCamera)Overloaded. Transform the rectangle from the camera's local coordinate system to the camera's view coordinate system.
MoveInBackOf (inherited from PNode) Change the order of this node in its parent's children list so that it will draw before the given sibling node.
MoveInFrontOf (inherited from PNode) Change the order of this node in its parent's children list so that it will draw after the given sibling node.
MoveToBack (inherited from PNode) Change the order of this node in its parent's children list so that it will draw in back of all of its other sibling nodes.
MoveToFront (inherited from PNode) Change the order of this node in its parent's children list so that it will draw in front of all of its other sibling nodes.
OffsetBy (inherited from PNode) Offset this node relative to the parent's coordinate system. This is NOT affected by this node's current scale or rotation.
OnClick (inherited from PNode) Raises the Click event.
OnDoubleClick (inherited from PNode) Raises the DoubleClick event.
OnDragDrop (inherited from PNode) Raises the DragDrop event.
OnDragEnter (inherited from PNode) Raises the DragEnter event.
OnDragLeave (inherited from PNode) Raises the DragLeave event.
OnDragOver (inherited from PNode) Raises the DragOver event.
OnGotFocus (inherited from PNode) Raises the GotFocus event.
OnKeyDown (inherited from PNode) Raises the KeyDown event.
OnKeyPress (inherited from PNode) Raises the KeyPress event.
OnKeyUp (inherited from PNode) Raises the KeyUp event.
OnLostFocus (inherited from PNode) Raises the LostFocus event.
OnMouseDown (inherited from PNode) Raises the MouseDown event.
OnMouseDrag (inherited from PNode) Raises the MouseDrag event.
OnMouseEnter (inherited from PNode) Raises the MouseEnter event.
OnMouseLeave (inherited from PNode) Raises the MouseLeave event.
OnMouseMove (inherited from PNode) Raises the MouseMove event.
OnMouseUp (inherited from PNode) Raises the MouseUp event.
OnMouseWheel (inherited from PNode) Raises the MouseWheel event.
ParentBoundsChanged (inherited from PNode) A notification that the bounds of this node's parent have changed.
ParentToLocal (inherited from PNode)Overloaded. Transform the given rectangle from this node's parent's local coordinate system to the local coordinate system of this node.
Pick (inherited from PCamera)Overloaded. Generate and return a PPickPath for the point x,y specified in the local coordinate system of this camera.
Position (inherited from PNode) Animate this node's matrix to one that will make this node appear at the specified position relative to the specified bounding box.
Print (inherited from PNode) Constructs a new PrintDocument, allows the user to select which printer to print to, and then prints the node.
RemoveAllChildren (inherited from PNode) Remove all the children from this node.
RemoveChild (inherited from PNode)Overloaded. Remove the child at the specified position from this node's children.
RemoveChildren (inherited from PNode)Overloaded. Remove all the children in the given collection from this node’s list of children.
RemoveFromParent (inherited from PNode) Delete this node by removing it from its parent’s list of children.
RemoveInputEventListener (inherited from PNode) Removes the specified input event listener so that it no longer receives input events from this node.
RemoveLayer (inherited from PCamera)Overloaded. Remove the layer at the given index from the list of layers managed by this camera.
Repaint (inherited from PNode) Mark the area on the screen represented by this node's full bounds as needing a repaint.
RepaintFrom (inherited from PCamera) Overridden. Repaint this camera, and forward the repaint request to the camera's canvas if it is not null.
RepaintFromLayer (inherited from PCamera) Repaint from one of the camera's layers.
Reparent (inherited from PNode) Set the parent of this node, and transform the node in such a way that it doesn't move in global coordinates.
ReplaceWith (inherited from PNode) Swaps this node out of the scene graph tree, and replaces it with the specified replacement node.
ResetBounds (inherited from PNode) Set the bounds of this node back to an empty rectangle.
RotateBy (inherited from PNode)Overloaded. Rotates this node by theta (in degrees) about the given point.
RotateInPlace (inherited from PNode) Rotates this node by theta (in degrees), and then translates the node so that the x, y position of its fullBounds stays constant.
ScaleBy (inherited from PNode)Overloaded. Scale this node's matrix by the given amount about the specified point.
ScaleViewBy (inherited from PCamera)Overloaded. Scale the view transform that is applied to the layers viewed by this camera by the given amount about the given point.
SetBounds (inherited from PNode) Set the bounds of this node to the given values.
SetOffset (inherited from PNode) Sets the offset applied to this node by it's matrix.
SetViewOffset (inherited from PCamera) Sets the offset of the view matrix that is applied to the camera's layers.
SignalBoundsChanged (inherited from PNode) This method should be called when the bounds of this node are changed.
StartResizeBounds (inherited from PNode) Notify this node that you will begin to repeatedly call SetBounds.
ToImage (inherited from PNode)Overloaded. Paint a representation of this node into the specified image. If backgroundBrush is null, then the image will not be filled with a color prior to rendering.
ToPickPath (inherited from PNode)Overloaded. Creates a pick path with the given Camera and pickbounds and adds this node.
ToString (inherited from PNode) Returns a string representation of this object for debugging purposes.
TransformBy (inherited from PNode) Transform this node's matrix by the given matrix.
TranslateBy (inherited from PNode) Translate this node's matrix by the given amount, using the standard matrix Translate method.
TranslateViewBy (inherited from PCamera) Translate the view matrix that is applied to the camera's layers.
ValidateFullPaint (inherited from PNode) Repaint this node and any of its descendents if they have invalid paint.
ViewToLocal (inherited from PCamera)Overloaded. Transform the rectangle from the camera's view coordinate system to the camera's local coordinate system.

Protected Instance Methods

AddChildren (inherited from PNode)Overloaded. Add a collection of nodes to be children of this node.
AnimateStaticViewToTransformFast This copies the behavior of the standard AnimateViewToMatrix but clears the cache when it is done.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FireChildPropertyChangedEvent (inherited from PNode) Called by child node to forward property change events up the node tree so that property change listeners registered with this node will be notified of property changes of its children nodes.
FirePropertyChangedEvent (inherited from PNode) Raise the given property change event.
GetPropertyHandlers (inherited from PNode) Gets all property event handlers for this node, that are associated with the specified property key.
HandleEvent (inherited from PNode) Raise the given input event.
InternalUpdateBounds (inherited from PNode) Gives nodes a chance to update their internal structure before bounds changed notifications are sent. When this message is received, the node's bounds field will contain the new value.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnFullBoundsInvalidated (inherited from PNode) Raises the FullBoundsInvalidated event.
OnPaintInvalidated (inherited from PNode) Raises the PaintInvalidated event.
Paint (inherited from PCamera) Overridden. Paint this camera (default background color is white) and then paint the camera's view through the view transform.
PaintAfterChildren (inherited from PNode) Subclasses that wish to do additional painting after their children are painted should override this method and do that painting here.
PaintCameraView (inherited from PCamera) Paint all the layers that the camera is looking at.
PaintDebugBounds (inherited from PCamera) Override this method to change the way the bounds are painted when the debug bounds flag is set.
PaintDebugFullBounds (inherited from PCamera) Override this method to change the way the full bounds are painted when the debug full bounds flag is set.
PaintDebugInfo (inherited from PCamera) This method paints the bounds and full bounds of nodes when the appropriate debug flags are set.
PaintTransformedView (inherited from PCamera) Paint the camera's view through the view transform.
Pick (inherited from PNode)Overloaded. Try to pick this node before its children have had a chance to be picked.
PickAfterChildren (inherited from PCamera) Overridden. After the direct children of the camera have been given a chance to be picked objects viewed by the camera are given a chance to be picked.
PickCameraView (inherited from PCamera) Pick all the layers that the camera is looking at.
printDocument_PrintPage (inherited from PNode) Prints the node into the given Graphics context.
RemoveChildren (inherited from PNode)Overloaded. Remove all the children in the given collection from this node’s list of children.
ScaleAndDraw (inherited from PNode) Scale the Graphics so that this node's full bounds fit in displayRect and then render into the given Graphics context.
ValidateFullBounds (inherited from PNode) This method is called to validate the bounds of this node and all of its descendents.

See Also

PCacheCamera Class | UMD.HCIL.PiccoloX.Nodes Namespace


Web Accessibility