RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.ColorAdjustLuma Function

Returns a TColor with luminance changed by n factor.

Pascal
function ColorAdjustLuma(clrRGB: TColor; n: Integer; fScale: BOOL): TColor;
C++
TColor ColorAdjustLuma(TColor clrRGB, int n, BOOL fScale);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!