Table of Contents

Class AddImage

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

Represents an operator that specifies drawing the specified image to the canvas.

public class AddImage : CanvasElement
Inheritance
AddImage
Inherited Members

Properties

Destination

Gets or sets the optional region in which to draw the image.

public Rect Destination { get; set; }

Property Value

Rect

Image

Gets or sets the image to draw.

public IplImage Image { get; set; }

Property Value

IplImage

Interpolation

Gets or sets the interpolation method used to resize the input image, if required.

public SubPixelInterpolation Interpolation { get; set; }

Property Value

SubPixelInterpolation

Methods

GetRenderer()

Returns the image drawing operation.

protected override Action<IplImage> GetRenderer()

Returns

Action<IplImage>

The Action<T> object that will be invoked to apply the drawing operation to the canvas bitmap during rendering.