Sign in Join
FPDoc Onlineexperiment

TCanvas.SetColor procedure

Member of TCanvasprotectedIn unit Graphics

Sets the value for the indexed Colors property.

Declaration

pascal
procedure SetColor(x: Integer; y: Integer; const Value: TFPColor)
 ; override

Arguments

x

Horizontal coordinate for the pixel.

y

Vertical coordinate for the pixel.

Value

Color for the specified pixel.

Description

SetColor is a method used to set the value for the indexed Colors property. SetColor implements the abstract virtual method defined in the TFPCustomCanvas ancestor. Equivalent to setting the color value using the Pixels property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.