How can I draw an outline around any text in AWT, something similar to this picture?
two examples
Font and AffineTransform
Font, TextLayout and AffineTransform
output from this paint would be the BufferedImage, for AWT Components use method paint(), for Swing JComponents is there paintComponet()
BufferedImage
paint()
paintComponet()
Also, from code linked in a comment:
2.1m questions
2.1m answers
60 comments
57.0k users