Is it possible to draw diagonal lines in Java, and other figures with smooth edges? That is, in fact, vector lines. The image shows that the diagonal lines go like a ladder, but it is necessary that they be "smooth". Is it possible to draw exactly (smooth, vector) lines in Java?
- Clarify the question. What technologies / libraries / frameworks do you use, what conclusion, where is used and so on. - Janislav Kornev
- I use the awt library. I am writing a simple graphical application. I bring the line through gr.drawLine (x1, y1, x2, y2); I bring the line to JPanel, which in turn is in JFrame. - Nikolay
|
