Declarations ​
pascal
procedure ResetAlpha; overload;
procedure ResetAlpha(const AlphaValue: Byte); overload;Overload Details
Overload 1 ​
pascal
procedure ResetAlpha; overload;Resets the alpha component of all pixels in the bitmap to $FF (fully opaque).
Overload 2 ​
pascal
procedure ResetAlpha(const AlphaValue: Byte); overload;Resets the alpha component of all pixels in the bitmap to AlphaValue.
| Parameter | Type | Description |
|---|---|---|
AlphaValue | Byte | 8-bit alpha value (0 to 255). |
Description ​
ResetAlpha sets the alpha channel of all pixels without altering RGB color components.
Example ​
pascal
Bitmap.ResetAlpha(255);