How to color the path based on the value of vec(x, y) of that point #875
Unanswered
pandey21197
asked this question in
Q&A
Replies: 3 comments 6 replies
-
This a linear gradient from the bottom of the path (green) to the top of the path (red). The path object has a method to get its bounding box:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
These are the two property you need to adjust to the bounding box of your path:
|
Beta Was this translation helpful? Give feedback.
4 replies
-
but it always take the last < LinearGradient/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to color the path based on the point values in path to achieve something like this:
Beta Was this translation helpful? Give feedback.
All reactions