yfx
2026-03-19 642fa7ad5acb2d1f61b27dcf3e4ac6b5fc804d7a
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]'
}