yfx
2026-03-16 4065a1ffca0287fa48bcd35916450b6859e870dc
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]'
}