Jaa


RectHelper.GetRight(Rect) Method

Definition

Gets a "Right" value for the specified Rect. So long as the Rect is not the Empty Rect, "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 const& target);
public static float GetRight(Rect target);
function getRight(target)
Public Shared Function GetRight (target As Rect) As Single

Parameters

target
Rect

The Rect to evaluate.

Returns

Single

float

The evaluated "Right" value.

Applies to