Table of Contents

Class Canvas

Namespace
Bonsai.Vision.Drawing
Assembly
Bonsai.Vision.dll

Provides support for lazy initialization and rendering of dynamic bitmaps.

public class Canvas
Inheritance
Canvas
Inherited Members

Remarks

Each canvas stores a generator function, used to allocate the bitmap memory, and an immutable sequence of drawing operations to be applied to the bitmap in order to produce the final image.

Methods

Draw()

Allocates the bitmap memory and applies the sequence of operations to create a new drawing.

Merge(Canvas, Canvas)

Combines the drawing operations of two specified canvas.

Operators

operator +(Canvas, Canvas)

Concatenates the drawing operations of two specified canvas.