sdu
sdu

Reputation: 2838

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

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

What can I do?

Upvotes: 5

Views: 8254

Answers (2)

zokia
zokia

Reputation: 63

Also You can change canvas style

Canvas.Brush.Style := bsClear;

Upvotes: 1

sdu
sdu

Reputation: 2838

Change the color of the canvas's Font

Canvas.Font.Color := <whatever>;

Upvotes: 13

Related Questions