1
0
Fork 0

🚧 Working on themes

This commit is contained in:
joostdecock 2018-07-15 08:36:19 +00:00
parent 4f39f5e357
commit ccd95c612d
12 changed files with 241 additions and 25 deletions

View file

@ -3,10 +3,7 @@ import { Attributes } from './attributes'
export class Path {
constructor() {
return this;
}
render: boolean = true;
ops: {
type: "move" | "line" | "curve" | "close";
to?: Point;
@ -69,10 +66,4 @@ export class Path {
return d;
}
/** Returns SVG code for this path */
render(): string {
this.attributes.add('d', this.asPathstring());
return `<path ${this.render()} />`;
}
}