Vcl.RibbonActnCtrls.TRibbonMenuItem.DrawShadowedText
Delphi
procedure DrawShadowedText(Rect: TRect; Flags: Cardinal; Text: string; TextColor: TColor; ShadowColor: TColor); override;
C++
virtual void __fastcall DrawShadowedText(const System::Types::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.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonMenuItem |
Description
Draws the text on the control.
The DrawShadowedText method draws the text with the TextColor and the ShadowColor on the control, within the area specified by PaintRect.