SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Draw transparent text on canvas

Use Brush.Style for the Form.Canvas, if you want to set background color of text like a color of form. And use TextOut, if you want to draw text on the canvas.

procedure TForm1.Button1Click(Sender: TObject);
begin
  with Canvas do
  begin
    Brush.Style:=bsClear;
    TextOut(10, 10, 'Hello');
  end;
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes