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

Drawing Canvas Arc Function #477

Open
2 tasks done
andygilbert29 opened this issue Feb 20, 2025 · 0 comments
Open
2 tasks done

Drawing Canvas Arc Function #477

andygilbert29 opened this issue Feb 20, 2025 · 0 comments

Comments

@andygilbert29
Copy link

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

Add the Arc function to the Canvas Drawing Object.

This is available on the HTML Canvas and would be a great addition to the drawing canvas within C3.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc

Possible workarounds or alternatives

I'm not sure there is any?

In my case I am having to create separate sprites of the various "Arcs" which is a real issues as I know these will require tweaking in the near future which means having to change them all outside of C3. Would be much easier if I can do all this dynamically.

Proposed solution

Add this functionality to the drawing canvas as it is available in the HTML canvas.

Why is this idea important?

Because it makes development a lot easier and effective using native function rather than trying to find ways around the problem. Resulting in less code and less problems.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc

Additional remarks

No response

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