Home | History | Annotate | Download | only in SVG
      1 <?xml version="1.0" standalone="no"?>
      2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
      3 <svg width="4in" height="3in">
      4   <desc>Example of using a mask
      5   </desc>
      6   <g>
      7     <defs>
      8       <image id="MyMask" href="transp.png"/>
      9     </defs>
     10     <rect style="mask: url(#MyMask)" width="12.5" height="30"/>
     11   </g>
     12 </svg>
     13