Piccolo.NET

PNode.ToImage Method (Image, Brush)

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.

public virtual Image ToImage(
   Image image,
   Brush backgroundBrush
);

Parameters

image
The image to render this node into.
backgroundBrush
The brush used to render the background of the image.

Return Value

A rendering of this node and its descendents into the specified image.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace | PNode.ToImage Overload List


Web Accessibility