UNPKG

free-tex-packer-core

Version:
32 lines (23 loc) 494 B
const METHOD = { Default: "Default" }; class Packer { constructor() { } pack(data, method) { throw Error("Abstarct method. Override it."); } static get type() { return "Default"; } static get defaultMethod() { return METHOD.Default; } static get methods() { return METHOD; } static getMethodProps(id=0) { return {name: "Default", description: "Default placement"}; } } module.exports = Packer;