[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'FPimage' (#fcl)

TFPCustomImage.SetInternalPixel

Set the color of a pixel, in its internal encoding.

Declaration

Source position: fpimage.pp line 118

protected procedure TFPCustomImage.SetInternalPixel(

  x: Integer;

  y: Integer;

  Value: Integer

); virtual; abstract;

Description

This is an abstract method, expecting color information as an palette index by default, or monochrome or RGBA data encoded as an Integer value. The color Value must be encoded in the format of the actual image, as defined in its TRawImageDescription. Applications should use SetInternalColor instead, which converts the given RGBA value into the proper internal encoding.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.