跳到主要内容

Point 对象

  • x 数字
  • y 数字

注意:xy 都必须是整数。在将 Point 对象作为输入提供给 Electron API 时,我们将自动把 xy 值四舍五入到最接近的整数。