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

fpgColorToRGB

Convert a color to the RGB values of that color

Declaration

Source position: fpg_main.pas line 381

function fpgColorToRGB(

  col: TfpgColor

):TfpgColor;

Description

Convert a color to the RGB values of that color. Not all TfpgColor values are in RGB format. For example, you get "named" colors too (eg: clWindowBackground), which is simply an index value, but later translated to a real RGB value via the theming system.


Documentation generated on: 2012-01-26