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
如题,这二个函数的直接传坐标的方法要求手机SDK版本在21以上才行,21以下的是没有效果的,要兼容低版本的话需要使用参数比较少的重载方法,先 new RectF,传入坐标,然后再将 Rectf 传入 draw 方法。这个问题在教程里没有提到,新手可能会不知道该怎么处理。
The text was updated successfully, but these errors were encountered:
drawArc 方法也是这样的,好像所有跟弧度有关的方法都有这个问题
Sorry, something went wrong.
使用RectF就好了
@JichunMa +1
直接使用new RectF(left,top, right, bottom),跟你直接传的参数是一样的
No branches or pull requests
如题,这二个函数的直接传坐标的方法要求手机SDK版本在21以上才行,21以下的是没有效果的,要兼容低版本的话需要使用参数比较少的重载方法,先 new RectF,传入坐标,然后再将 Rectf 传入 draw 方法。这个问题在教程里没有提到,新手可能会不知道该怎么处理。
The text was updated successfully, but these errors were encountered: