Question

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

What can I do?

Was it helpful?

Solution

Change the color of the canvas's Font

Canvas.Font.Color := <whatever>;

OTHER TIPS

Also You can change canvas style

Canvas.Brush.Style := bsClear;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top