Rectangle.x PropertyIn This ArticleDeclarationProperty Value Gets the x-coordinate of the upper-left corner of the rectangle. #Declaration TypeScriptx: number #Property Value Type Description number The x-coordinate. See Also Rectangle Class Rectangle Members