Vcl.GraphUtil.ColorAdjustLuma
Delphi
function ColorAdjustLuma(clrRGB: TColor; n: Integer; fScale: BOOL): TColor;
C++
extern DELPHI_PACKAGE System::Uitypes::TColor __fastcall ColorAdjustLuma(System::Uitypes::TColor clrRGB, int n, System::LongBool fScale);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
Description
Returns a TColor with luminance changed by n factor.
ColorAdjustLuma routine returns a TColor whose luminance has been changed by n factor.
clrRGB represents the base color.
n represents the factor by which the luminance is changed.
fScale is not used but needs to be set.