Piccolo.NET

PCamera Members

PCamera overview

Public Static Fields

PROPERTY_CODE_LAYERS A bit field that identifies a LayersChanged event.
PROPERTY_CODE_VIEWTRANSFORM A bit field that identifies a ViewTransformChanged event.

Protected Static Fields

PROPERTY_KEY_LAYERS The key that identifies a change in the set of this camera's layers.
PROPERTY_KEY_VIEWTRANSFORM The key that identifies a change in this camera's view matrix.

Public Instance Constructors

PCameraOverloaded. Initializes a new instance of the PCamera class.

Public Instance Fields

FullBoundsInvalidated (inherited from PNode) Used to recieve low level full bounds invalidated events.
PaintInvalidated (inherited from PNode) Used to recieve low level paint invalidated events.

Public Instance Properties

AllNodes (inherited from PNode) Gets a list containing this node and all of its descendent nodes.
Bounds (inherited from PNode) Gets or sets this node's bounds in local coordinates.
Brush (inherited from PNode) Gets or sets the Brush used to paint this node.
Canvas Gets or sets the canvas associated with this camera.
ChildPaintInvalid (inherited from PNode) Gets or sets a value indicating whether this node has a child with invalid paint.
ChildrenCount (inherited from PNode) Gets the number of children that this node has.
ChildrenEnumerator (inherited from PNode) Return an enumerator for this node’s direct descendent children.
ChildrenPickable (inherited from PNode) Gets or sets a value indicating whether the children of his node should be picked.
ChildrenReference (inherited from PNode) Gets a reference to the list used to manage this node’s children.
FullBounds (inherited from PNode) Gets this node's full bounds in the parent coordinate system of this node.
GlobalBounds (inherited from PNode) Gets a copy of the bounds of this node in the global coordinate system.
GlobalFullBounds (inherited from PNode) Gets the full bounds of this node in the global coordinate system.
GlobalRotation (inherited from PNode) Gets or sets a the total amount of rotation applied to this node by its own matrix together with the matrices of all its ancestors.
GlobalScale (inherited from PNode) Gets or sets the global scale that is being applied to this node by its matrix together with the matrices of all its ancestors.
GlobalToLocalMatrix (inherited from PNode) Return the matrix that converts global coordinates to local coordinates of this node.
GlobalTranslation (inherited from PNode) Gets or sets the global translation that is being applied to this node by its matrix together with the matrices of all its ancestors.
HandlerList (inherited from PNode) Return the list of event handlers associated with this node.
Height (inherited from PNode) Gets the height (in local coordinates) of this node's bounds.
InverseMatrix (inherited from PNode) Gets an inverted copy of the matrix associated with this node.
Item (inherited from PNode) Allows a PNode to be indexed directly to access it's children.
LayerCount Gets the number of layers managed by this camera.
LayersReference Gets a reference to the list of layers managed by this camera.
LocalToGlobalMatrix (inherited from PNode) Return the matrix that converts local coordinates at this node to the global coordinate system.
Matrix (inherited from PNode) Gets or sets the matrix associated with this node.
MatrixReference (inherited from PNode) Gets a reference to the matrix associated with this node.
Occluded (inherited from PNode) Returns true if this node is occluded by another node, in which case it should not be drawn.
Offset (inherited from PNode) Gets or sets the offset applied to this node by its matrix.
OffsetX (inherited from PNode) Gets or sets the x offset applied to this node by its matrix.
OffsetY (inherited from PNode) Gets or sets the y offset applied to this node by its matrix.
PaintInvalid (inherited from PNode) Gets or sets a value indicating whether this node's paint is invalid, in which case the node needs to be repainted.
Parent (inherited from PNode) Gets or sets the parent of this node.
Pickable (inherited from PNode) Gets or sets a value indicating whether this node is pickable
PropertyChangeParentMask (inherited from PNode) Gets or sets a value that determines which property change events are forwarded to this node's parent so that it's property change listeners will also be notified.
Root (inherited from PNode) Gets the root node (instance of PRoot).
Rotation (inherited from PNode) Gets or sets the rotation applied by this node's transform in degrees.
Scale (inherited from PNode) Gets or sets the scale applied by this node's matrix.
Tag (inherited from PNode) Gets or sets the object that contains data about the control.
UnionOfChildrenBounds (inherited from PNode) Gets the union of the full bounds of all the children of this node.
UnionOfLayerFullBounds Gets the total bounds of all the layers that this camera looks at.
ViewBounds Gets or sets the bounds of the view.
ViewConstraint Gets or sets a constraint that will be applied to the camera's view matrix.
ViewMatrix Gets or sets the view matrix that is applied to the camera's layers.
ViewMatrixReference Gets a reference to the view matrix that is applied to the camera's layers.
ViewOffset Sets the offset of the view matrix that is applied to the camera's layers.
ViewScale Gets or sets the scale applied by the view transform to the layers viewed by this camera.
Visible (inherited from PNode) Gets or sets a value indicating whether this node is visible, that is if it will paint itself and its descendents.
Width (inherited from PNode) Gets the width (in local coordinates) of this node's bounds.
X (inherited from PNode) Gets the x position (in local coordinates) of this node's bounds.
Y (inherited from PNode) Gets the y position (in local coordinates) of this node's bounds.

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.
AddLayerOverloaded. 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.
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 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 Animate the camera's view matrix from its current value when the activity starts to the new destination matrix value.
AnimateViewToPanToBounds 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 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. Push the camera onto the paintContext, so that it can later be accessed by PPaintContext.Camera, and then paint this node and all of it's descendents.
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 Return the layer at the specified index.
GetObjectData 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 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.
LocalToViewOverloaded. 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.
PickOverloaded. 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.
RemoveLayerOverloaded. 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 Overridden. Repaint this camera, and forward the repaint request to the camera's canvas if it is not null.
RepaintFromLayer 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.
ScaleViewByOverloaded. 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 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 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.
ViewToLocalOverloaded. Transform the rectangle from the camera's view coordinate system to the camera's local coordinate system.

Public Instance Events

BoundsChanged (inherited from PNode) Occurs when the value of the Bounds property changes.
BrushChanged (inherited from PNode) Occurs when the value of the Brush property changes.
ChildrenChanged (inherited from PNode) Occurs when there is a change in the set of this node's direct children.
ChildrenPickableChanged (inherited from PNode) Occurs when the value of the ChildrenPickable property changes.
Click (inherited from PNode) Occurs when the node is clicked.
DoubleClick (inherited from PNode) Occurs when the node is double clicked.
DragDrop (inherited from PNode) Occurs when a drag-and-drop operation is completed.
DragEnter (inherited from PNode) Occurs when an object is dragged into this node's bounds.
DragLeave (inherited from PNode) Occurs when an object is dragged out of this node's bounds.
DragOver (inherited from PNode) Occurs when an object is dragged over this node's bounds.
FullBoundsChanged (inherited from PNode) Occurs when the value of the FullBounds property changes.
GotFocus (inherited from PNode) Occurs when the node receives focus.
KeyDown (inherited from PNode) Occurs when a key is pressed while the node has focus.
KeyPress (inherited from PNode) Occurs when a key is pressed while the node has focus.
KeyUp (inherited from PNode) Occurs when a key is released while the node has focus.
LayersChanged Occurs when there is a change in the set of this camera's layers.
LostFocus (inherited from PNode) Occurs when the node loses focus.
MouseDown (inherited from PNode) Occurs when the mouse pointer is over the node and a mouse button is pressed.
MouseDrag (inherited from PNode) Occurs when the mouse pointer is dragged over the node.
MouseEnter (inherited from PNode) Occurs when the mouse pointer enters the node.
MouseLeave (inherited from PNode) Occurs when the mouse pointer leaves the node.
MouseMove (inherited from PNode) Occurs when the mouse pointer is moved over the node.
MouseUp (inherited from PNode) Occurs when the mouse pointer is over the node and a mouse button is released.
MouseWheel (inherited from PNode) Occurs when the mouse wheel moves while the node has focus.
ParentChanged (inherited from PNode) Occurs when the value of the Parent property changes.
PickableChanged (inherited from PNode) Occurs when the value of the Pickable property changes.
TagChanged (inherited from PNode) Occurs when the value of the Tag property changes.
TransformChanged (inherited from PNode) Occurs when the value of the Matrix property changes.
ViewTransformChanged Occurs when the value of the ViewMatrix property changes.
VisibleChanged (inherited from PNode) Occurs when the value of the Visible property changes.

Protected Instance Constructors

PCameraOverloaded. Initializes a new instance of the PCamera class.

Protected Instance Fields

bounds (inherited from PNode) The bounds of this node, stored in local coordinates.

Protected Instance Properties

BoundsModified (inherited from PNode) Gets or sets a value indicating whether this node's bounds have recently changed.
BoundsVolatile (inherited from PNode) Gets a value indicating whether this nodes bounds may change at any time.
ChildBoundsInvalid (inherited from PNode) Gets or sets a value indicating if one of this node's descendents has invalid bounds.
ChildBoundsVolatile (inherited from PNode) Gets or sets a value indicating whether this has a child with volatile bounds.
FullBoundsInvalid (inherited from PNode) Gets or sets a value indicating whether the full bounds of this node are valid.
ParamString (inherited from PNode) Gets a string representing the state of this node.

Protected Instance Methods

AddChildren (inherited from PNode)Overloaded. Add a collection of nodes to be children of this node.
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 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 Paint all the layers that the camera is looking at.
PaintDebugBounds Override this method to change the way the bounds are painted when the debug bounds flag is set.
PaintDebugFullBounds Override this method to change the way the full bounds are painted when the debug full bounds flag is set.
PaintDebugInfo This method paints the bounds and full bounds of nodes when the appropriate debug flags are set.
PaintTransformedView 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 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 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

PCamera Class | UMD.HCIL.Piccolo Namespace


Web Accessibility