feat: 基础库问题已修复,放出setShadow方法

master
luqianyu 2020-12-21 14:56:41 +08:00
parent 6331e4ce44
commit 630ad800a2
1 changed files with 6 additions and 6 deletions

View File

@ -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) {