FreeImageBitmap.FillBackground(T) Method (T, FREE_IMAGE_COLOR_OPTIONS)

FreeImage.NET

FreeImageBitmapFillBackgroundT Method (T, FREE_IMAGE_COLOR_OPTIONS)
Sets all pixels of this FreeImageBitmap to the specified color. See FillBackgroundT(FIBITMAP, T, FREE_IMAGE_COLOR_OPTIONS) for further details.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool FillBackground<T>(
	T color,
	FREE_IMAGE_COLOR_OPTIONS options
)
where T : struct, new()

Parameters

color
Type: T
The color to fill this FreeImageBitmap with.
options
Type: FreeImageAPIFREE_IMAGE_COLOR_OPTIONS
Options that affect the color search process for palletized images.

Type Parameters

T
The type of the specified color.

Return Value

Type: Boolean
true on success, false on failure.
See Also