PHP Classes

File: toastui/src/js/extension/sharpen.js

Recommend this page to a friend!
  Classes of Mark de Leon   PHP Document Scanner using SANE or eSCL AirPrint   toastui/src/js/extension/sharpen.js   Download  
File: toastui/src/js/extension/sharpen.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Document Scanner using SANE or eSCL AirPrint
Web interface to scan printed documents
Author: By
Last change:
Date: 4 years ago
Size: 736 bytes
 

Contents

Class file image Download
/** * @author NHN Ent. FE Development Team <dl_javascript@nhn.com> * @fileoverview Sharpen extending fabric.Image.filters.Convolute */ import fabric from 'fabric/dist/fabric.require'; /** * Sharpen object * @class Sharpen * @extends {fabric.Image.filters.Convolute} * @ignore */ const Sharpen = fabric.util.createClass(fabric.Image.filters.Convolute, /** @lends Convolute.prototype */{ /** * Filter type * @param {String} type * @default */ type: 'Sharpen', /** * constructor * @override */ initialize() { const matrix = [ 0, -1, 0, -1, 5, -1, 0, -1, 0 ]; this.matrix = matrix; } }); module.exports = Sharpen;