Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 TCanvas 上绘制文本,TextOut()但我需要不同的文本颜色。
TextOut()
我能做些什么?
更改画布字体的颜色
Canvas.Font.Color := <whatever>;
您也可以更改画布样式
Canvas.Brush.Style := bsClear;