Vcl.ActnMan.TCustomActionControl.DrawShadowedText
Delphi
procedure DrawShadowedText(Rect: TRect; Flags: Cardinal; Text: string;
TextColor, ShadowColor: TColor); virtual;
C++
virtual void __fastcall DrawShadowedText(const Winapi::Windows::TRect &Rect, unsigned Flags, System::UnicodeString Text, System::Uitypes::TColor TextColor, System::Uitypes::TColor ShadowColor);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionControl |
Description
Draws a text and its shadow on the control.
Use DrawShadowedText to draw the text specified by Text, using TextColor and the shadow of the text, using ShadowColor. Note that the shadow is actually the same text, but drawn with an offset relative to the position of the original text.
Both the text and the shadow are drawn within the area designated by Rect.