', '9bbb59', '8064a2', '4bacc6', 'f79646'], //画笔选择颜色
        saveNum: 10  //撤销次数
    };

    var scrawlObj = new scrawl(settings);
    scrawlObj.isCancelScrawl = false;

    dialog.onok = function () {
        exec(scrawlObj);
        return false;
    };
    dialog.oncancel = function () {
        scrawlObj.isCancelScrawl = true;
    };
</script>
</body>
</html>
