Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <defs>
  2. <pattern id="img1" patternUnits="userSpaceOnUse" width="100" height="100">
  3. <image xlink:href="wall.jpg" x="0" y="0" width="100" height="100" />
  4. </pattern>
  5. </defs>
  6.  
  7. <path d="M5,50
  8. l0,100 l100,0 l0,-100 l-100,0
  9. M215,100
  10. a50,50 0 1 1 -100,0 50,50 0 1 1 100,0
  11. M265,50
  12. l50,100 l-100,0 l50,-100
  13. z"
  14. fill="url(#img1)" />
  15.  
  16. chart.append("defs")
  17. .append('pattern')
  18. .attr('id', 'locked2')
  19. .attr('patternUnits', 'userSpaceOnUse')
  20. .attr('width', 4)
  21. .attr('height', 4)
  22. .append("image")
  23. .attr("xlink:href", "locked.png")
  24. .attr('width', 4)
  25. .attr('height', 4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement