绘制完成后需要恢复原来的composite,以确保随后的任何绘图操作不会受到由让定制的 composite实例保留超过所需要的时间所带来的不必要影响。
The original composite needs to be restored afterwards to ensure that any subsequent drawing is not unnecessarily affected by leaving the custom composite instance there for longer than is required.
所有绘制操作完成后,内存缓冲区直接复制到与其关联的绘图图面。
After all the graphics have been drawn to the buffer, you can use the BufferedGraphics. Render Method to copy the contents of the buffer to the drawing surface on the screen.
所有绘制操作完成后,内存缓冲区直接复制到与其关联的绘图图面。
After all the graphics have been drawn to the buffer, you can use the BufferedGraphics. Render Method to copy the contents of the buffer to the drawing surface on the screen.
应用推荐