BufferedGraphicsContext 构造函数

定义

初始化 BufferedGraphicsContext 类的新实例。Initializes a new instance of the BufferedGraphicsContext class.

public:
 BufferedGraphicsContext();
public BufferedGraphicsContext ();
Public Sub New ()

注解

对于具有动画效果的图形密集型应用程序,有时可以使用专用 BufferedGraphicsContext 而不是提供的默认实例来提高性能 BufferedGraphicsManagerFor graphically intensive applications such as animation, you can sometimes improve performance by using a dedicated BufferedGraphicsContext instead of the default instance provided by the BufferedGraphicsManager. 这使您可以分别创建和管理图形缓冲区。This allows you to create and manage graphics buffers individually.

备注

Dispose使用完专用时,应始终调用 BufferedGraphicsContextYou should always call Dispose when you finish using a dedicated BufferedGraphicsContext.

有关专用图形缓冲区的详细信息,请参阅 如何:手动管理缓冲图形For more information about dedicated graphics buffers, see How to: Manually Manage Buffered Graphics.

适用于