The Graphics object provides the methods that actually do the drawing, and the Pen object stores attributes, such as line color, width, and style.
英
美
- Graphics对象提供进行实际绘制的方法,Pen对象存储属性,如直线的颜色、宽度和线型。