diff --git a/pages/API/canvas/example.js b/pages/API/canvas/example.js index 7d0e1cc..0495073 100644 --- a/pages/API/canvas/example.js +++ b/pages/API/canvas/example.js @@ -222,12 +222,12 @@ example.setGlobalAlpha = function (context) { }) } -example.setShadow = function (context) { - context.beginPath() - context.setShadow(10, 10, 10, 'rgba(0, 0, 0, 199)') - context.rect(10, 10, 100, 100) - context.fill() -} +// example.setShadow = function (context) { +// context.beginPath() +// context.setShadow(10, 10, 10, 'rgba(0, 0, 0, 199)') +// context.rect(10, 10, 100, 100) +// context.fill() +// } example.setFontSize = function (context) { [10, 20, 30, 40].forEach(function (item, index) {