mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
SVG Importer Gradients example: Use percentages in stops of first gradient.
This commit is contained in:
parent
b7c50a16d1
commit
fac9b3a0e9
1 changed files with 15 additions and 15 deletions
|
@ -36,21 +36,21 @@
|
|||
</linearGradient>
|
||||
<rect x="69" y="133" fill="url(#SVGID_2_)" width="461" height="59"/>
|
||||
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="69" y1="91.5" x2="530" y2="91.5">
|
||||
<stop offset="0" style="stop-color:#00A14B"/>
|
||||
<stop offset="0.0031" style="stop-color:#0BA449"/>
|
||||
<stop offset="0.0203" style="stop-color:#43B13D"/>
|
||||
<stop offset="0.038" style="stop-color:#75BD33"/>
|
||||
<stop offset="0.0559" style="stop-color:#A0C72A"/>
|
||||
<stop offset="0.074" style="stop-color:#C2CF23"/>
|
||||
<stop offset="0.0922" style="stop-color:#DDD61E"/>
|
||||
<stop offset="0.1107" style="stop-color:#F0DA1A"/>
|
||||
<stop offset="0.1298" style="stop-color:#FBDD18"/>
|
||||
<stop offset="0.15" style="stop-color:#FFDE17"/>
|
||||
<stop offset="0.3" style="stop-color:#F26522"/>
|
||||
<stop offset="0.47" style="stop-color:#00A14B"/>
|
||||
<stop offset="0.64" style="stop-color:#FFDE17"/>
|
||||
<stop offset="0.8012" style="stop-color:#F26522"/>
|
||||
<stop offset="1" style="stop-color:#00A14B"/>
|
||||
<stop offset="0%" style="stop-color:#00A14B"/>
|
||||
<stop offset="0.31%" style="stop-color:#0BA449"/>
|
||||
<stop offset="2%" style="stop-color:#43B13D"/>
|
||||
<stop offset="3.8%" style="stop-color:#75BD33"/>
|
||||
<stop offset="5.59%" style="stop-color:#A0C72A"/>
|
||||
<stop offset="7.4%" style="stop-color:#C2CF23"/>
|
||||
<stop offset="9.22%" style="stop-color:#DDD61E"/>
|
||||
<stop offset="11.07%" style="stop-color:#F0DA1A"/>
|
||||
<stop offset="12.98%" style="stop-color:#FBDD18"/>
|
||||
<stop offset="15%" style="stop-color:#FFDE17"/>
|
||||
<stop offset="30%" style="stop-color:#F26522"/>
|
||||
<stop offset="47%" style="stop-color:#00A14B"/>
|
||||
<stop offset="64%" style="stop-color:#FFDE17"/>
|
||||
<stop offset="80.12%" style="stop-color:#F26522"/>
|
||||
<stop offset="100%" style="stop-color:#00A14B"/>
|
||||
</linearGradient>
|
||||
<rect x="69" y="62" fill="url(#SVGID_3_)" width="461" height="59"/>
|
||||
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="24.6909" y1="760.1406" x2="485.6914" y2="760.1406" gradientTransform="matrix(0 1 -1 0 859.6406 264.3599)">
|
||||
|
|
Loading…
Reference in a new issue