Search code examples
delphitcanvas

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?


Solution

  • Change the color of the canvas's Font

    Canvas.Font.Color := <whatever>;