mirror of
https://gitee.com/onvia/ccc-tnt-psd2ui
synced 2024-12-27 12:07:45 +00:00
18 lines
375 B
JavaScript
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]'
|
|
}
|