BufferedGraphicsManager クラス

定義

アプリケーション ドメインのメイン のバッファーに格納されたグラフィックス コンテキスト オブジェクトへのアクセスを提供します。

public ref class BufferedGraphicsManager sealed
public sealed class BufferedGraphicsManager
type BufferedGraphicsManager = class
Public NotInheritable Class BufferedGraphicsManager
継承
BufferedGraphicsManager

次のコード例は、現在のアプリケーション ドメインの BufferedGraphicsContext を取得する方法を示しています。

// Retrieves the BufferedGraphicsContext for the 
// current application domain.
BufferedGraphicsContext^ appDomainGraphicsContext =
   BufferedGraphicsManager::Current;
// Retrieves the BufferedGraphicsContext for the
// current application domain.
BufferedGraphicsContext appDomainGraphicsContext =
     BufferedGraphicsManager.Current;
' Retrieves the BufferedGraphicsContext for the 
' current application domain.
Dim appDomainGraphicsContext As BufferedGraphicsContext = BufferedGraphicsManager.Current

注釈

BufferedGraphicsManager クラスを使用すると、グラフィックスのカスタム ダブル バッファリングを実装できます。 二重バッファリングを使用するグラフィックスでは、表示サーフェイスの再描画によって引き起こされるちらつきを減らしたり排除したりすることができます。

このクラスには、現在のアプリケーション ドメインのメイン Currentを返す 1 つの静的プロパティBufferedGraphicsContextがあります。 BufferedGraphicsContext クラスは、バッファーに格納されたグラフィックスを描画するために使用できるBufferedGraphicsインスタンスを作成します。

BufferedGraphics クラスにはパブリック コンストラクターがないため、BufferedGraphicsContext メソッドを使用してアプリケーション ドメインのAllocate オブジェクトによって作成する必要があります。 現在のアプリケーション ドメインの BufferedGraphicsContext オブジェクトは、静的 BufferedGraphicsManager.Current プロパティから取得できます。

ダブル バッファリングの詳細については、「 ダブル バッファリングされたグラフィックスBufferedGraphics、および BufferedGraphicsContext」を参照してください。

プロパティ

名前 説明
Current

現在のアプリケーション ドメインの BufferedGraphicsContext を取得します。

メソッド

名前 説明
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください