Skip to main content

Rectangle Object

  • x number - The x coordinate of the origin of the rectangle (must be an integer).矩形原点的x坐标(必须是整数)。
  • y number - The y coordinate of the origin of the rectangle (must be an integer).矩形原点的y坐标(必须是整数)。
  • width number - The width of the rectangle (must be an integer).矩形的宽度(必须是一个整数)。
  • height number - The height of the rectangle (must be an integer).矩形的高度(必须是一个整数)。