学以致用——Java源码——使用Line2D.Double类绘制随机线段(Random Lines Using Class Line2D.Double)

程序功能: 显示8条线段(颜色随机,位置随机,线段粗度随机)。 运行结果: 源码: 1. 实体类 /** * 13.8 (Random Lines Using Class Line2D.Double) Modify your solution to * Exercise 13.7 to draw random lines in random colors and random thicknes
相关文章
相关标签/搜索