Region.IsEmpty(Graphics) メソッド

定義

この Region が、指定した図面サーフェス上に空の内部を持っているかどうかをテストします。

public:
 bool IsEmpty(System::Drawing::Graphics ^ g);
public bool IsEmpty(System.Drawing.Graphics g);
member this.IsEmpty : System.Drawing.Graphics -> bool
Public Function IsEmpty (g As Graphics) As Boolean

パラメーター

g
Graphics

描画サーフェイスを表す Graphics

返品

true Regionに関連付けられた変換が適用されるときに、このgの内部が空の場合は >、それ以外の場合はfalse

例外

gnullです。

注釈

グラフィックス コンテキスト g の現在の変換は、描画サーフェイスの領域内部を計算するために使用されます。

適用対象