Skip to content

Conversation

737261520
Copy link

new attr(counterClockwise) of circle

Copy link
Contributor

@ShaMan123 ShaMan123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for PRing
Looks good: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc#syntax


/**
* Specify whether the drawing should be counterclockwise or clockwise
* probably will change to degrees in next major version
Copy link
Contributor

@ShaMan123 ShaMan123 Oct 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line

@ShaMan123 ShaMan123 self-assigned this Oct 23, 2022
@ShaMan123 ShaMan123 changed the title feat(circle): new attr(counterClockwise) of circle feat(circle): support counterClockwise Oct 23, 2022
@asturur
Copy link
Member

asturur commented Oct 25, 2022

Hi @737261520 can i ask you how this is used?
Is this for the startAngle/endAngle? or for some path winding logic?

@737261520
Copy link
Author

Hi @737261520 can i ask you how this is used? Is this for the startAngle/endAngle? or for some path winding logic?

look this: https://developer.mozilla.org/zh-CN/docs/Web/API/CanvasRenderingContext2D/arc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants