| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' |
| 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'> |
| <svg fill-opacity="1" xmlns:xlink="http://www.w3.org/1999/xlink" color-rendering="auto" color-interpolation="auto" stroke="black" text-rendering="auto" stroke-linecap="square" width="300" stroke-miterlimit="10" stroke-opacity="1" shape-rendering="auto" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" height="400" xmlns="http://www.w3.org/2000/svg" font-family="'Arial'" font-style="normal" stroke-linejoin="miter" font-size="12px" stroke-dashoffset="0" image-rendering="auto" |
| ><!--Generated by the Batik Graphics2D SVG Generator--><defs id="genericDefs" |
| /><g |
| ><defs id="defs1" |
| ><linearGradient x1="30" gradientUnits="userSpaceOnUse" x2="30" y1="40" y2="120" id="linearGradient1" spreadMethod="pad" |
| ><stop stop-opacity="1" stop-color="red" offset="0%" |
| /><stop stop-opacity="1" stop-color="yellow" offset="100%" |
| /></linearGradient |
| ><linearGradient x1="0" gradientUnits="userSpaceOnUse" x2="20" y1="0" y2="0" id="linearGradient2" spreadMethod="pad" |
| ><stop stop-opacity="1" stop-color="red" offset="0%" |
| /><stop stop-opacity="1" stop-color="yellow" offset="100%" |
| /></linearGradient |
| ><linearGradient x1="0" gradientUnits="userSpaceOnUse" x2="20" y1="0" y2="0" id="linearGradient3" spreadMethod="reflect" |
| ><stop stop-opacity="1" stop-color="red" offset="0%" |
| /><stop stop-opacity="1" stop-color="yellow" offset="100%" |
| /></linearGradient |
| ><linearGradient x1="0" gradientUnits="userSpaceOnUse" x2="100" y1="0" y2="0" id="linearGradient4" spreadMethod="pad" |
| ><stop stop-opacity="1" stop-color="red" offset="0%" |
| /><stop stop-opacity="1" stop-color="yellow" offset="100%" |
| /></linearGradient |
| ><linearGradient x1="10" gradientUnits="userSpaceOnUse" x2="110" y1="30" y2="30" id="linearGradient5" spreadMethod="pad" |
| ><stop stop-opacity="0" stop-color="rgb(255,0,0)" offset="0%" |
| /><stop stop-opacity="1" stop-color="yellow" offset="100%" |
| /></linearGradient |
| ></defs |
| ><g text-rendering="optimizeLegibility" |
| ><text x="10" xml:space="preserve" y="20" stroke="none" |
| >Simple vertical gradient</text |
| ><rect fill="url(#linearGradient1)" x="10" width="100" height="100" y="30" stroke="none" |
| /><path fill="none" d="M-5 0 L5 0 M0 -5 L0 5" transform="translate(30,40)" |
| /></g |
| ><g text-rendering="optimizeLegibility" transform="translate(30,120)" |
| ><path fill="none" d="M-5 0 L5 0 M0 -5 L0 5" |
| /></g |
| ><g text-rendering="optimizeLegibility" transform="translate(0,140)" |
| ><text x="10" xml:space="preserve" y="20" stroke="none" |
| >Non Cyclic / Cyclic Gradients</text |
| ><rect x="0" y="0" transform="translate(10,30)" fill="url(#linearGradient2)" width="100" height="30" stroke="none" |
| /><rect x="0" y="0" transform="translate(10,60)" fill="url(#linearGradient3)" width="100" height="30" stroke="none" |
| /><line y2="0" fill="none" x1="0" x2="100" transform="translate(10,60)" y1="0" |
| /></g |
| ><g text-rendering="optimizeLegibility" transform="translate(0,240)" |
| ><text x="10" xml:space="preserve" y="20" stroke="none" |
| >Sheared GradientPaint</text |
| ><rect x="0" y="0" transform="translate(10,25) matrix(1,0,0.5,1,0,0)" fill="url(#linearGradient4)" width="100" height="40" stroke="none" |
| /></g |
| ><g text-rendering="optimizeLegibility" transform="translate(0,320)" |
| ><text x="10" xml:space="preserve" y="20" stroke="none" |
| >Opacity in stop color</text |
| ><rect fill="url(#linearGradient5)" x="10" width="100" height="30" y="30" stroke="none" |
| /></g |
| ></g |
| ></svg |
| > |