Line2D decoration tips needed - Graphics2D
问题 I have Line2D and Arc2D objects laid out on my JPanel by Graphics2D drawing. You can have a look a part of it on this question " How to make pixel perfect Line2D in - Graphics2D ". Now what I want to achieve is, I want to create two parallel lines and arcs for all Line2D and Arc2D objects. Visually, Normal Line2D and Arc2D drawn currently, Want to decorate it like this, My Thoughts so far, I might be able to achieve this by creating two different line and give an offset +gap and -gap from my