Alpha blend or combine a sub part image with tthis FreeImageBitmap.
The bit depth of bitmap must be greater than or equal to the bit depth this instance.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool Paste( FreeImageBitmap bitmap, Point point, int alpha ) |
Visual Basic (Declaration) |
---|
Public Function Paste ( _ bitmap As FreeImageBitmap, _ point As Point, _ alpha As Integer _ ) As Boolean |
Visual C++ |
---|
public: bool Paste( FreeImageBitmap^ bitmap, Point point, int alpha ) |
Parameters
- bitmap
- Type: FreeImageAPI..::.FreeImageBitmap
The FreeImageBitmap to paste into this instance.
- point
- Type: System.Drawing..::.Point
Specifies the position of the sub image.
- alpha
- Type: System..::.Int32
alpha blend factor. The source and destination images are alpha blended if alpha=0..255. If alpha > 255, then the source image is combined to the destination image.