RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.GetShadowColor Function

Returns the shadow color.

Pascal
function GetShadowColor(const Color: TColor; Luminance: Integer = -50): TColor;
C++
TColor GetShadowColor(const TColor Color, int Luminance = -50);

GetShadowColor returns the shadow color with a specific luminance.  

Color represents the base color.  

Luminance represents the luminance. The default value is -50 and it is optional. 

 

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