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