P
P
partyzanx2019-02-28 09:38:38
Vector graphics
partyzanx, 2019-02-28 09:38:38

How to make linearGradient fall equally on the whole svg?

Problem: I set the gradient not to apply to each element separately, but to the entire svg ?
5c7781df905f2433556152.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
raron, 2019-02-28
@raron

It is necessary that the object be one (single) curve

D
Dmitry Maksimov, 2019-03-19
@JeenJay

Where the gradient is declared:
...for starters, you need to y2replace the attribute value from 1with 100%:
...and add an attribute gradientUnitswith the value userSpaceOnUse:
Happened:
This article talks about gradientUnits.
Or do as raron suggested , merge all the elements into one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question