跳转到主要内容

Point 对象

  • x number
  • y number
注意

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