How can I change the color of textOut of TCanvas (delphi)?

7.9k views Asked by At

I am drawing text on TCanvas using TextOut() but I need a different text color.

What can I do?

2

There are 2 answers

0
sdu On BEST ANSWER

Change the color of the canvas's Font

Canvas.Font.Color := <whatever>;
0
zokia On

Also You can change canvas style

Canvas.Brush.Style := bsClear;