Gradient Paint does not contain data of its start/end positions
piusyikyu opened this issue · 4 comments
piusyikyu commented
glebsexy commented
You don't need them. Use gradientTransform.
https://forum.figma.com/t/need-help-with-gradienttranform-matrix/26792/
Roystbeef commented
haven't tested this but extractLinearGradientStartEnd.ts may be useful here?
piusyikyu commented
I will take a look thanks
piusyikyu commented
@Roystbeef Thanks!
I have tested it roughly and it looks correct.