FMX.Graphics.TBitmapData.SetPixel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPixel(const X, Y: Integer; const AColor: TAlphaColor);

C++

void __fastcall SetPixel(const int X, const int Y, const System::Uitypes::TAlphaColor AColor);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TBitmapData

Description

Sets the color of a specified pixel.

The X and Y parameters specify the coordinates of the pixel within the bitmap data.

To get the color of a pixel, use GetPixel.

See Also