RAD Studio VCL Reference
|
Returns a TColor with luminance changed by n factor.
function ColorAdjustLuma(clrRGB: TColor; n: Integer; fScale: BOOL): TColor;
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!
|