How do I draw a line of any thickness in JDK 1.1?

John Zukowski

Prior to the Java 2D API, all lines were drawn at a thinkness of one. If you need a wider line, you would need to draw multiple lines next to each other (or a rectangle, if the line is horizontal or veritcal - diagonal lines would need to be rotated if you relied on a filled rectangle)

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact