Line2D « Graphics « Java Swing Q&A





1. Line2D vs. Line2D.Float vs...    coderanch.com

I was browsing Line2D, Line2D.Float, & Line2D.Double. Is it possible for a line (float or double) to extend 5.32 pixels long?? I would think that it is, otherwise PSP wouldn't be able to draw shapes as vectors. It sure would make things a little easier. Let's say There's a vertical line, 400 pixels high, and I put labels beside the line, ...

3. Resizing line2d    coderanch.com

4. Line2D.Double    coderanch.com