Piccolo.NET

PLens Members

PLens overview

Public Static Fields

DEFAULT_DRAGBAR_BRUSH The default brush used to render the lens's dragbar.
DEFAULT_LENS_BRUSH The default brush used to render the lens's camera.
LENS_DRAGBAR_HEIGHT The height of the lens's dragbar.

Public Instance Constructors

PLensOverloaded. Initializes a new instance of the PLens 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.
Camera Gets the camera child of this lens.
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.
DragBar Gets the dragbar for this lens.
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.
LensDraggerHandler Gets the drag event handler responsible for dragging this lens.
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.
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.
AddLayer Add the layer at the given index in the list of layers managed by the camera child of this lens.
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.
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 (inherited from PNode) Paint this node and all of its 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.
GetObjectData (inherited from PNode) Write this node and all of its descendent nodes 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.
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 Overridden. When the lens is resized this method gives us a chance to layout the lens's camera child appropriately.
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.
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.
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 Remove the given layer from the list of layers managed by the camera child of this lens.
Repaint (inherited from PNode) Mark the area on the screen represented by this node's full bounds as needing a repaint.
RepaintFrom (inherited from PNode) Pass the given repaint request up the tree, so that any cameras can invalidate that region on their associated canvas.
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.
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.
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.
ValidateFullPaint (inherited from PNode) Repaint this node and any of its descendents if they have invalid paint.

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.
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.
VisibleChanged (inherited from PNode) Occurs when the value of the Visible property changes.

Protected Instance Constructors

PLensOverloaded. Initializes a new instance of the PLens 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 (inherited from PNode) Paint this node behind any of its children nodes.
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.
Pick (inherited from PNode) Try to pick this node before its children have had a chance to be picked.
PickAfterChildren (inherited from PNode) Try to pick this node after its children have had a chance to be picked.
PLens_TransformChanged When this PLens is dragged around, adjust the camera's view transform so that the squiggles remain fixed at their original locations.
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

PLens Class | UMD.HCIL.PiccoloX.Nodes Namespace


Web Accessibility