Skip to main content
Table of Contents

TTMSFNCGraphicsContextWin.SetFontColor Method

Sets the foreground color used for subsequent text rendering.

API unit family: TMSFNCGraphics.Win Declaring type: TTMSFNCGraphicsContextWin

Syntax

FMX.TMSFNCGraphics.Win.hppPascalC++
procedure SetFontColor(AColor: TTMSFNCGraphicsColor); override;
virtual void __fastcall SetFontColor(TTMSFNCGraphicsColor AColor);

Parameters

Name Description
AColor The color to apply to drawn text.