Skip to content
New issue

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

如何使用zrender绘制Canvas中的ellipse(椭圆弧) #1025

Open
astonishqft opened this issue Aug 7, 2023 · 0 comments
Open

如何使用zrender绘制Canvas中的ellipse(椭圆弧) #1025

astonishqft opened this issue Aug 7, 2023 · 0 comments

Comments

@astonishqft
Copy link

astonishqft commented Aug 7, 2023

Canvas的API中提供了直接绘制椭圆弧的方法,比如可以通过如下方式绘制一个椭圆弧:

ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, counterclockwise)
image

请问在zrender中如何绘制原生Canvas中的ellipse椭圆弧呢?求大佬告知,感激不尽,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant