共用方式為


RectHelper.GetRight(Rect) 方法

定義

取得指定 Rect的 「Right」 值。 只要 Rect 不是空白Rect ,「Right」 就會評估為 + XWidth 。 C# 程式碼應該改用 Rect.Right

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

參數

target
Rect

要評估的 Rect

傳回

Single

float

評估的 「Right」 值。

適用於