Click or drag to resize
Accord.NET (logo)

CanvasFill Constructor (Rectangle, Color, Byte)

Initializes a new instance of the CanvasFill class.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public CanvasFill(
	Rectangle region,
	Color fillColorRGB,
	byte fillColorGray
)
Request Example View Source

Parameters

region
Type: System.DrawingRectangle
Region to fill.
fillColorRGB
Type: System.DrawingColor
RGB color to use for filling areas inside of specified region in color images.
fillColorGray
Type: SystemByte
Gray color to use for filling areas inside of specified region in grayscale images.
See Also