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

Add 'drawStyle' setting #97

Open
ChemicalLuck opened this issue Oct 7, 2024 · 0 comments · May be fixed by #98
Open

Add 'drawStyle' setting #97

ChemicalLuck opened this issue Oct 7, 2024 · 0 comments · May be fixed by #98

Comments

@ChemicalLuck
Copy link

The CanvasRenderingContext2D interface has methods: fillText and strokeText.
strokeText draws the outline of the font.

My suggestion is to add a drawStyle field to CanvasTextConfig with values fill and outline.

I'm happy to implement this and raise a pull request.

@ChemicalLuck ChemicalLuck linked a pull request Oct 7, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant