feat: 基础库问题已修复,放出setShadow方法
parent
6331e4ce44
commit
630ad800a2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue