Piccolo.NET

PPath Methods

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

Public Static Methods

CreateEllipse Creates a new PPath with the shape of the ellipse specified by the given dimensions.
CreateLine Creates a new PPath with the shape of a line specified by the given coordinates.
CreatePolygon Creates a new PPath with the shape of the polygon specified by the given dimension.
CreateRectangle Creates a new PPath with the shape of the rectangle specified by the given dimensions.

Public Instance Methods

AddActivity (inherited from PNode) Schedule the given activity with the root.
AddArc See GraphicsPath.AddArc.
AddBezier See GraphicsPath.AddBezier.
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.
AddClosedCurve See GraphicsPath.AddClosedCurve.
AddCurve See GraphicsPath.AddCurve.
AddEllipse See GraphicsPath.AddEllipse.
AddInputEventListener (inherited from PNode) Adds the specified input event listener to receive input events from this node.
AddLine See GraphicsPath.AddLine.
AddPath See GraphicsPath.AddPath.
AddPolygon See GraphicsPath.AddPolygon.
AddRectangle See GraphicsPath.AddRectangle.
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.
CloseAllFigures See GraphicsPath.CloseAllFigures.
CloseFigure See GraphicsPath.CloseFigure.
ComputeFullBounds (inherited from PNode) Compute and return the full bounds of this node.
EndResizeBounds Overridden. See PNode.EndResizeBounds.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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 Write this PPath 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 Returns true if this path intersects the given rectangle.
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.
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.
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.
Reset See GraphicsPath.Reset.
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 Overridden. See PNode.StartResizeBounds.
ToImage (inherited from PNode)Overloaded. Return a new Image of the requested size representing this node and all of its children.
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.
UpdateBoundsFromPath This method is called to update the bounds whenever the underlying path changes.
ValidateFullPaint (inherited from PNode) Repaint this node and any of its descendents if they have invalid paint.

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.
FirePropertyChangedEvent (inherited from PNode) Raise the given property change event.
HandleEvent (inherited from PNode) Raise the given input event.
InternalUpdateBounds Overridden. Set the bounds of this path.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
Paint Overridden. See PNode.Paint.
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.
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

PPath Class | UMD.HCIL.Piccolo.Nodes Namespace