Declarations ​
pascal
procedure SetPixelT(X, Y: Integer; Value: TColor32); overload;
procedure SetPixelT(var Ptr: PColor32; Value: TColor32); overload;Overload Details
Overload 1 ​
pascal
procedure SetPixelT(X, Y: Integer; Value: TColor32); overload;Sets pixel at coordinates (X, Y) using blending rules.
| Parameter | Type | Description |
|---|---|---|
X, Y | Integer | Pixel coordinates. |
Value | TColor32 | 32-bit ARGB color. |
Overload 2 ​
pascal
procedure SetPixelT(var Ptr: PColor32; Value: TColor32); overload;Sets pixel at pointer reference Ptr using blending rules.
| Parameter | Type | Description |
|---|---|---|
Ptr | PColor32 | Pointer to target pixel. |
Value | TColor32 | 32-bit ARGB color. |
Description ​
SetPixelT applies alpha blending (DrawMode / CombineMode) when writing pixel values.
Example ​
pascal
Bitmap.SetPixelT(10, 20, clTrRed32);