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

18 lines
375 B
JavaScript
Raw Normal View History

2023-07-24 02:36:46 +00:00
'use strict'
/*!
* Canvas - CanvasPattern
* Copyright (c) 2010 LearnBoost <tj@learnboost.com>
* MIT Licensed
*/
const bindings = require('./bindings')
const { DOMMatrix } = require('./DOMMatrix')
bindings.CanvasPatternInit(DOMMatrix)
module.exports = bindings.CanvasPattern
bindings.CanvasPattern.prototype.toString = function () {
return '[object CanvasPattern]'
}