ctx.createPattern(image, type) 图像平铺

    image: Image对象
    type: no-repeat repeat-x repeat-y repeat