ccc-tnt-psd2ui/npm-packages/win32-v2.4.x/canvas/lib/bindings.js

14 lines
280 B
JavaScript
Raw Normal View History

2023-07-24 02:36:46 +00:00
'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]'
}