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

TFPCustomImage.Pixels

The internal color value of a pixel.

Declaration

Source position: fpimage.pp line 144

public property TFPCustomImage.Pixels: Integer
  read GetPixel
  write SetPixel;

Description

For RGBA colors the value is the internal (encoded) representation of the color. For monochrome or palette based images, the value is the intensitiy or palette index. This property is useful when working with monochrome or palette based images. Otherwise TFPCustomImage.Colors should be used to get or set the decoded RGBA color values.

Errors

FPImageException

See also

TFPCustomImage.Colors

  

The RGBA color of the specified pixel.

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