FreeImage.NET Class Library Reference
FreeImageBitmapComposite Method |
This method composite a transparent foreground image against a single background color or
against a background image.
In case useBitmapBackground is false and applicationBackground
and bitmapBackGround
are null, a checkerboard will be used as background.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool Composite( bool useBitmapBackground, Nullable<Color> applicationBackground, FreeImageBitmap bitmapBackGround )
Parameters
- useBitmapBackground
- Type: SystemBoolean
When true the background of this instance is used if it contains one. - applicationBackground
- Type: SystemNullableColor
Backgroundcolor used in case useBitmapBackground is false and applicationBackground is not null. - bitmapBackGround
- Type: FreeImageAPIFreeImageBitmap
Background used in case useBitmapBackground is false and applicationBackground is a null reference.
Return Value
Type: BooleanReturns true on success, false on failure.
See Also