ui
叶富雄
2026-03-14 b34744f5bb68ed1ba7d1dd5251298a42e4aaaf9c
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
 
const bindings = require('../build/Release/canvas.node')
 
module.exports = bindings
 
bindings.ImageData.prototype.toString = function () {
    return '[object ImageData]'
}
 
bindings.CanvasGradient.prototype.toString = function () {
    return '[object CanvasGradient]'
}