We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
正常情况下 前端的坐标是以左上角来计算的,这毫无问题 和服务器储存的坐标信息对比,你会发现: X轴的坐标信息是对的(Dx <= fontendX <= Dx+Width),这毫无问题 Y轴的坐标信息是错的,前端的Y轴坐标小于了后端的Y轴开始坐标,也就是(fontendY <= Dy <= Dy_Height),你肯定会很紧张,以为自己算错了 把心放肚子里 这是因为文字的坐标是以文字的左下角为原点的,也就是说服务端储存的Dy值已经是加上了Height之后的值了 前端不需要任何处理,后端会在比对的时候自动减去Height值再进行比对,也就是(Dy - Height)≈ fontendY 所以放心大胆的把这个看起来错误的Y值传给服务器,它会自己处理的
嘿,v2 版本即将更新,坐标会有所变化哟 _
Sorry, something went wrong.
No branches or pull requests
正常情况下
和服务器储存的坐标信息对比,你会发现:
把心放肚子里
The text was updated successfully, but these errors were encountered: