Sign in Join
FPDoc Onlineexperiment

ColorToGray function

In unit GraphUtil

Converts a Lazarus TColor value to its grayscale equivalent.

Declaration

pascal
function ColorToGray(const AColor: TColor): Byte

Arguments

AColor

TColor value converted in the method.

Function result

Byte contain the grayscale value for the specified color.

Description

Nothing more than the line above yet.

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