Sets all pixels of this FreeImageBitmap to the specified color.
See FillBackground<(Of <(T>)>)(FIBITMAP, T, FREE_IMAGE_COLOR_OPTIONS) for further details.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool FillBackground<T>( T color, FREE_IMAGE_COLOR_OPTIONS options ) where T : struct, new() |
Visual Basic (Declaration) |
---|
Public Function FillBackground(Of T As {Structure, New}) ( _ color As T, _ options As FREE_IMAGE_COLOR_OPTIONS _ ) As Boolean |
Visual C++ |
---|
public: generic<typename T> where T : value class, gcnew() bool FillBackground( T color, FREE_IMAGE_COLOR_OPTIONS options ) |
Parameters
- color
- Type: T
The color to fill this FreeImageBitmap with.
- options
- Type: FreeImageAPI..::.FREE_IMAGE_COLOR_OPTIONS
Options that affect the color search process for palletized images.
Type Parameters
- T
- The type of the specified color.