alank2 5 Posted January 18, 2022 So that the font itself is black for example, but it has a white outline immediately around the font, but not the entire background. I am wanting to overlay a TLabel on top of a graphic and make it visible if the graphic is dark or light. Share this post Link to post
M.Joos 30 Posted January 19, 2022 AFIK there isn't a way to achieve this with a plain TLabel. You need to convert your text to a Path (TPathData) and then render this on a Canvas. Google is your friend for more information. Share this post Link to post
alank2 5 Posted January 20, 2022 (edited) Many of those examples are large fonts like a WordArt type of thing. Can this approach work on smaller font sizes like 12pt? Thank you for the help! Edited January 20, 2022 by alank2 Share this post Link to post
alank2 5 Posted January 21, 2022 I'm not in love with it, but I ended up using 5 TLabels - one offset to each corner underneath the real one to give it an outline. Share this post Link to post
Fr0sT.Brutal 900 Posted January 24, 2022 (edited) Why not override DoDrawText and do whatever you want (glow effect)? Edited January 24, 2022 by Fr0sT.Brutal Share this post Link to post
vfbb 285 Posted April 26, 2022 You can just use the StrokeColor property of TSkLabel from Skia4Delphi library: Share this post Link to post