-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(Circle): Add counterclockwise parameter to Circle class #9670
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
I am not sure if how we should name the flag
Maybe it doesn't matter
Anyways we want to align to MDN at least with the default value, I would align also with the flag name
What do you think?
The PR is missing a changelog entry and prettier (npm run prettier:write) |
We might want to add the visual as a test, @asturur ? |
6f669e9
to
568f69e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Just to make clear how things seems obvious but aren't, i understood this would behave completely different, |
I m ok also without the visual test, since for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@asturur I will not merge n case you want to work on the tokens
The token thing is not as easy as it seems. |
Description
This resolves issue #9653 to implement orientation to the circle. I have also taken the liberty of tidying the documentation, per #9654 , to emphasize that the angle is in degrees and will stay that way.
In Action
I used
npm start node
and the following code snippet forindex.mjs
:This is the resulting snapshot:
Note that they sweep out complementary angles.