RectHelper.GetRight(Rect) RectHelper.GetRight(Rect) RectHelper.GetRight(Rect) RectHelper.GetRight(Rect) Method

Definition

Gets a "Right" value for the specified Rect. So long as Width is positive, "Right" is evaluated as X + Width. C# and Microsoft Visual Basic code should use Rect.Right instead.

public : static float GetRight(Rect target)
static float GetRight(Rect target) const;
public static float GetRight(Rect target)
Public Shared Function GetRight(target As Rect) As float

Parameters

target
Rect Rect

The Rect to evaluate.

Returns

float float

The evaluated "Right" value.