ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/canvas/lib/pattern.js
2023-07-24 11:13:08 +08:00

18 lines
375 B
JavaScript

'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]'
}