Skip to content

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

Open
@astonishqft

Description

@astonishqft

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions