RectHelper.GetTop(Rect) 方法

定義

取得指定 Rect的 「Top」 值。 只要 Rect 不是 空白 Rect,「Top」 就會評估為 Y。C# 和 Microsoft Visual Basic 程式碼應該改用 Rect.Top

public:
 static float GetTop(Rect target);
 static float GetTop(Rect const& target);
public static float GetTop(Rect target);
function getTop(target)
Public Shared Function GetTop (target As Rect) As Single

參數

target
Rect

要評估的 Rect

傳回

Single

float

評估的 「Top」 值。

適用於