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
Path path = new Path(); path.addRect(-100, -100, 100, 100, Path.Direction.CW); // 添加小矩形 path.addRect(-200, -200, 200, 200, Path.Direction.CW); // 添加大矩形 canvas.drawPath(path, paint); // 绘制 Path
这段代码只能绘制出一个矩形,如果把两者的Direction 修改为不同的就可以两个都能绘制出来。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这段代码只能绘制出一个矩形,如果把两者的Direction 修改为不同的就可以两个都能绘制出来。
The text was updated successfully, but these errors were encountered: