Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <defs>
- <pattern id="img1" patternUnits="userSpaceOnUse" width="100" height="100">
- <image xlink:href="wall.jpg" x="0" y="0" width="100" height="100" />
- </pattern>
- </defs>
- <path d="M5,50
- l0,100 l100,0 l0,-100 l-100,0
- M215,100
- a50,50 0 1 1 -100,0 50,50 0 1 1 100,0
- M265,50
- l50,100 l-100,0 l50,-100
- z"
- fill="url(#img1)" />
- chart.append("defs")
- .append('pattern')
- .attr('id', 'locked2')
- .attr('patternUnits', 'userSpaceOnUse')
- .attr('width', 4)
- .attr('height', 4)
- .append("image")
- .attr("xlink:href", "locked.png")
- .attr('width', 4)
- .attr('height', 4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement