Piccolo.NET

PNodeCache Class

PNodeCache caches a visual representation of it's children into an image and uses this cached image for painting instead of painting it's children directly.

For a list of all members of this type, see PNodeCache Members.

System.Object
   PNode
      PNodeCache

public class PNodeCache : PNode

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class is intended to be used in two ways.

First it can be used as a simple optimization technique. If a node has many descendents it may be faster to paint the cached image representation instead of painting each node.

Second PNodeCache provides a place where "image" effects such as blurring and drop shadows can be added to the Piccolo scene graph. This can be done by overriding the method createImageCache and returing an image with the desired effect applied.

Requirements

Namespace: UMD.HCIL.PiccoloX.Nodes

Assembly: UMD.HCIL.PiccoloX (in UMD.HCIL.PiccoloX.dll)

See Also

PNodeCache Members | UMD.HCIL.PiccoloX.Nodes Namespace


Web Accessibility