Now it seems to me that I searched all over the Internet to find out how to add a border to the text, so I decided to ask here, since you guys always know the answer.
So, how do I, in java, draw a border of about 2 pixels around each letter in a line drawn on a Graphics2D element?
Like this:

Thanks in advance.
source
share