procedure TForm1.FormPaint(Sender: TObject);
var
textarea: TRect;
mytext: string;
mytextstyle: TTextStyle;
begin
Canvas.GradientFill(Self.ClientRect, clNavy, clGreen, gdHorizontal);
mytext := 'Hello the world, Who am I.';
textarea := Rect(20, Self.Height - 80, Self.Width - 20, Self.Height - 10);
mytextstyle := Canvas.TextStyle;
mytextstyle.Wordbreak := False;
mytextstyle.SingleLine := True;
Canvas.Font.Size := 16;
// Border
Canvas.Font.Color := clWhite;
Canvas.TextRect(textarea, 20 - 3, Self.Height - 80 - 0, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 + 3, Self.Height - 80 + 0, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 + 0, Self.Height - 80 - 3, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 - 0, Self.Height - 80 + 3, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 - 3, Self.Height - 80 - 3, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 + 3, Self.Height - 80 + 3, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 + 3, Self.Height - 80 - 3, mytext, mytextstyle);
Canvas.TextRect(textarea, 20 - 3, Self.Height - 80 + 3, mytext, mytextstyle);
// Text
Canvas.Font.Color := clBlue;
Canvas.TextRect(textarea, 20, Self.Height - 80, mytext, mytextstyle);
end;