Declaration ​
pascal
function CombineInfo(Bitmap: TCustomBitmap32): TCombineInfo;Parameters ​
| Parameter | Type | Description |
|---|---|---|
Bitmap | TCustomBitmap32 | Source bitmap whose master alpha, draw mode, combine mode, outer color, and pixel combine event are queried. |
Returns ​
| Type | Description |
|---|---|
TCombineInfo | A TCombineInfo record containing drawing modes, master alpha, combine callbacks, and transparent color extracted from the specified bitmap. |
Description ​
The CombineInfo function queries drawing configuration properties from the specified Bitmap and constructs a corresponding TCombineInfo structure.
The returned record copies:
SrcAlphafromBitmap.MasterAlphaDrawModefromBitmap.DrawMode(resettingdmCustomtodmOpaqueifOnPixelCombineis unassigned)CombineModefromBitmap.CombineModeCombineCallBackfromBitmap.OnPixelCombineTransparentColorfromBitmap.OuterColor