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
关于对drawRoundRect的这部分描述:
其中灰色部分是我们所选定的矩形,而里面的圆角矩形则变成了一个椭圆,实际上在rx为宽度的一半,ry为高度的一半时,刚好是一个椭圆,通过上面我们分析的原理推算一下就能得到,而当rx大于宽度的一半,ry大于高度的一半时,实际上是无法计算出圆弧的,所以drawRoundRect对大于该数值的参数进行了限制(修正),凡是大于一半的参数均按照一半来处理。
我在使用的时候发现,大于一半的参数并不是按一半来处理的,是按等比缩放来处理的
The text was updated successfully, but these errors were encountered:
No branches or pull requests
关于对drawRoundRect的这部分描述:
我在使用的时候发现,大于一半的参数并不是按一半来处理的,是按等比缩放来处理的
The text was updated successfully, but these errors were encountered: