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