yfx
2026-03-13 937c1a0bd3ae3829f59fd5c9e118c4be8029458f
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]'
}