点击运行
要用到的图片:
Canvas:
Repeat
Repeat-x
Repeat-y
No-repeat
Your browser does not support the HTML5 canvas tag.
运行结果