Table of Contents

Property Color

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

Color

Gets or sets the background color used to initialize all pixels in the canvas. If not specified, the bitmap memory will be allocated when rendering the canvas, but will not be initialized.

[Range(0, 255)]
[Precision(0, 1)]
[TypeConverter(typeof(BgraScalarConverter))]
public Scalar? Color { get; set; }

Property Value

Scalar?