Graphics クラス

GDI+ 描画面をカプセル化します。このクラスは継承できません。

この型のすべてのメンバの一覧については、Graphics メンバ を参照してください。

System.Object
   System.MarshalByRefObject
      System.Drawing.Graphics

<ComVisible(False)>
NotInheritable Public Class Graphics   Inherits MarshalByRefObject   Implements IDisposable
[C#]
[ComVisible(false)]
public sealed class Graphics : MarshalByRefObject, IDisposable
[C++]
[ComVisible(false)]
public __gc __sealed class Graphics : public MarshalByRefObject,   IDisposable
[JScript]
public
   ComVisible(false)
class Graphics extends MarshalByRefObject implements   IDisposable

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

解説

Graphics クラスには、オブジェクトをディスプレイ デバイスに描画するためのメソッドが用意されています。 Graphics オブジェクトは、特定のデバイス コンテキストに関連付けられます。

必要条件

名前空間: System.Drawing

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

アセンブリ: System.Drawing (System.Drawing.dll 内)

参照

Graphics メンバ | System.Drawing 名前空間