Besides these, the graphics class exposes a lot of other convenient methods that can be used to draw other basic shapes like rectangles, curves, rounded rectangles, lines, triangles, and so on.
此外,graphics类还给出了可用来绘制诸如矩形、曲线、圆角矩形、线、三角等这类基础图形的其他便捷方法。
The next step is to create the RolloverIcon class that is able to wrap an original icon and paint it with the desired graphics effect shown in Figure 1.
下一步是创建能够将初始图标包装起来并用图1所示的图形效果给图标着色的rollovericon类。
应用推荐