feat: 屏蔽canvas setShadow 方法,基础库修复后再放出来
parent
007b535807
commit
b13d43be2f
|
@ -222,12 +222,12 @@ example.setGlobalAlpha = function (context) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
example.setShadow = function (context) {
|
// example.setShadow = function (context) {
|
||||||
context.beginPath()
|
// context.beginPath()
|
||||||
context.setShadow(10, 10, 10, 'rgba(0, 0, 0, 199)')
|
// context.setShadow(10, 10, 10, 'rgba(0, 0, 0, 199)')
|
||||||
context.rect(10, 10, 100, 100)
|
// context.rect(10, 10, 100, 100)
|
||||||
context.fill()
|
// context.fill()
|
||||||
}
|
// }
|
||||||
|
|
||||||
example.setFontSize = function (context) {
|
example.setFontSize = function (context) {
|
||||||
[10, 20, 30, 40].forEach(function (item, index) {
|
[10, 20, 30, 40].forEach(function (item, index) {
|
||||||
|
|
Loading…
Reference in New Issue