, 65, 200);
        context.strokeText(text, 65, 200);
    };

    /**
     * 画图案文本
     */
    let drawPatternText = () => {
        context.fillStyle = pattern;
        context.fillText(text, 65, 450);
        context.strokeText(text, 65, 450);
    };

    //Event

    image.onload=()=>{
        pattern=context.createPattern(image,'repeat');
        drawPatternText();
    };

    //Init……

    //添加图案
    image.src = '../images/redball.png';

    context.font = '256px Palatino';
    c