API:Vcl.RibbonActnCtrls.TRibbonMainMenuItem.DrawShadowedText

From RAD Studio API Documentation
Jump to: navigation, search

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 TRibbonMainMenuItem

Description

Draws text on the control.

Vcl.RibbonActnCtrls.TRibbonMainMenuItem.DrawShadowedText inherits from Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.DrawShadowedText. All content below this line refers to Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.DrawShadowedText.

Draws 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.

See Also