1
0
Fork 0
freesewing/lib/snippet.ts
joostdecock 2160980ed4 :wip: Working on design theme
This needs to be taken out of this repo later
2018-07-16 13:42:26 +00:00

17 lines
394 B
TypeScript

import { Point } from './point'
import { Attributes } from './attributes'
export class Snippet {
anchor: Point;
def: string;
attributes: Attributes = new Attributes();
description: string | false;
constructor(anchor: Point, def: string, description: string | false = false) {
this.anchor = anchor;
this.def = def;
this.description = description;
return this;
}
}