mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-29 13:07:43 +00:00
14 lines
280 B
JavaScript
14 lines
280 B
JavaScript
'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]'
|
|
}
|