RectHelper.GetIsEmpty(Rect) メソッド

定義

指定した RectEmptyRect と等しいかどうかを返します。 C# と Microsoft Visual Basic のコードでは、代わりに Rect.IsEmpty を使用する必要があります。

public:
 static bool GetIsEmpty(Rect target);
 static bool GetIsEmpty(Rect const& target);
public static bool GetIsEmpty(Rect target);
function getIsEmpty(target)
Public Shared Function GetIsEmpty (target As Rect) As Boolean

パラメーター

target
Rect

評価する Rect

戻り値

Boolean

bool

指定した RectRect と等しい場合は true。それ以外の場合は false

注釈

このメソッドを使用して 0 個の領域をテストしないでください。領域が 0 の四角形は、必ずしも の四角形であるとは限りません。 詳細については、 Empty プロパティに関するページを参照してください。

適用対象