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

TCustomBitmap32.SetPixelTS

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

Declaration ​

pascal
procedure SetPixelTS(X, Y: Integer; Value: TColor32);

Parameters ​

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

Description ​

SetPixelTS checks coordinate boundaries against ClipRect before writing with alpha blending.

Example ​

pascal
Bitmap.SetPixelTS(-5, 10, clRed32); // Safe against out-of-bounds coordinates