-
Notifications
You must be signed in to change notification settings - Fork 469
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
Fill Path instead of stroke path #488
Comments
I don't get the issue, if you want the letter to be filled, use fill() call of canvas.. |
Yes i can change the fill color, but I need the bezier path information of that fill area, I am trying to animate the bezier path of the letter / text, currently its animating the path of the stroke path. |
Related: #434 |
I see, this is not something that can easily be computed even only approximated and IMO beyond the scope of this library. I don't think an opentype/truetype font is something you should use in a usecase like this, because they are constructed differently as you found out. You need a font system that is "stroked" by design or just do the paths manually and avoid font systems all together. |
The stroke and fill path should be the same. |
Thanks for the library to get the bézier path for the text.
Currently we get the stroke bézier path for the text, is there is any way to get the fill path bézier data of the text?
Currently for any font getting the stroke path
![image](https://user-images.githubusercontent.com/1684160/130782944-e74c00ef-445b-4902-acff-0f5c4defc32b.png)
but what i need is the inner / fill path of the letter
![image](https://user-images.githubusercontent.com/1684160/130782962-4beecc80-0699-462f-980e-2ab4d7d8f2e2.png)
Please suggest how to get the inner/fill bezier path of the text?
The text was updated successfully, but these errors were encountered: