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

2

5

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

What can I do?

Pyroconductivity answered 23/8, 2010 at 13:44 Comment(0)
P
13

Change the color of the canvas's Font

Canvas.Font.Color := <whatever>;
Pyroconductivity answered 23/8, 2010 at 13:58 Comment(0)
U
1

Also You can change canvas style

Canvas.Brush.Style := bsClear;
Universalize answered 24/10, 2018 at 9:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.