在java语言中,用到了求两个图形的交集、并集等, Graphics2D与Graphics的区别是什么? Rectangle2D与Rectangle的区别是什么?
Java's Graphics2D class provides methods to draw primitive shapes, such as lines, rectangles and ellipses. It lacks a method for drawing pixels. You can color a single pixel in a Java drawing by ...