Replies: 3 comments 6 replies
-
there is a getPosTan method that does just that, it will even give you the orientation of the shape. this is what we use to draw text on paths: https://github.com/Shopify/react-native-skia/blob/main/package/src/dom/nodes/drawings/Text.ts#L49 If this feels too complicated, there are probably some packages on npm that offer such feature. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi William,
Thank, you so much for your help.
I really appreciate it, i finally finished the progress with your helps ...
here is the result
William Candillon ***@***.***>, 18 May 2023 Per, 12:27
tarihinde şunu yazdı:
… the video on the gradient along path would be the starting point. Another
recommendation would be to look for how to do that in SVG ( you may find
more tutorials there) and then port it to Skia (should be straigthforward).
—
Reply to this email directly, view it on GitHub
<#1593 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKTTQ6R7QCMSJBOCBLGE3KLXGXTRRANCNFSM6AAAAAAYGD3ISY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
--
*================================*
*Bayram Arif*
*<Software Developer/>*
CODE ALL ООД
Petko Karavelov st. No: 26 Plovdiv / BULGARIA
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can. i add shapes along the Skia Path programatically ?
Example:
Hearts will be added along the path..
Number of the hearts can be more / less, and should have equal spacing between them
@william-candillon
Beta Was this translation helpful? Give feedback.
All reactions