Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TCustomBitmap32🞂SetPixelTMethodPublic

TCustomBitmap32.SetPixelT

Sets a pixel color using current DrawMode and CombineMode blending rules.

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.

ParameterTypeDescription
X, YIntegerPixel coordinates.
ValueTColor3232-bit ARGB color.

Overload 2 ​

pascal
procedure SetPixelT(var Ptr: PColor32; Value: TColor32); overload;

Sets pixel at pointer reference Ptr using blending rules.

ParameterTypeDescription
PtrPColor32Pointer to target pixel.
ValueTColor3232-bit ARGB color.

Description ​

SetPixelT applies alpha blending (DrawMode / CombineMode) when writing pixel values.

Example ​

pascal
Bitmap.SetPixelT(10, 20, clTrRed32);