Hello everybody!
I have some Problems using svg with gradient. If I generate a pdf from svg-content everything, also the gradient is fine. But sometimes I have to use more than one svg, but if I set setHTML(1) to use more svgs within div-tags, the gradient is black.
Is there a way to use more svgs with gradients?
I have some Problems using svg with gradient. If I generate a pdf from svg-content everything, also the gradient is fine. But sometimes I have to use more than one svg, but if I set setHTML(1) to use more svgs within div-tags, the gradient is black.
Is there a way to use more svgs with gradients?
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="5.4766" y1="5.8057" x2="277.9886" y2="394.9933">
<stop offset="0" style="stop-color:#FAEFCC"/>
<stop offset="0.0319" style="stop-color:#F9ECC6"/>
<stop offset="0.3074" style="stop-color:#F3D792"/>
<stop offset="0.5083" style="stop-color:#EEC96E"/>
<stop offset="0.6121" style="stop-color:#EBC260"/>
</linearGradient>