Rectangle.Right 属性

定义

获取 x 坐标,该坐标是此 Rectangle 结构的 XWidth 属性值之和。Gets the x-coordinate that is the sum of X and Width property values of this Rectangle structure.

public:
 property int Right { int get(); };
[System.ComponentModel.Browsable(false)]
public int Right { get; }
public int Right { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Right : int
member this.Right : int
Public ReadOnly Property Right As Integer

属性值

Int32

XWidthRectangle 之和的 x 坐标。The x-coordinate that is the sum of X and Width of this Rectangle.

属性

注解

属性的值 Right 表示矩形右边缘的第一个点的 x 坐标,该矩形中不包含该矩形。The value of the Right property represents the x-coordinate of the first point at the right edge of the rectangle that is not contained in the rectangle.

适用于