Point 对象

  • x Number 类型
  • y Number 类型**注意:xy都必须是整数,当提供point对象作为electron API的输入参数时,我们将自动将xy值舍入到最接近的整数。