Sign in Join
FPDoc Onlineexperiment

GetMaxColor function

In unit Graph

return maximum number of colors.

Declaration

pascal
function GetMaxColor: ColorType

Description

GetMaxColor returns the maximum color-number which can be set with SetColor. Contrary to Turbo Pascal, this color isn't always guaranteed to be white (for instance in 256+ color modes).

Errors

None.

See also

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