feature: generate pdf from actor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Box } from './box';
|
||||
import jsPDF from 'jspdf';
|
||||
import { AbstractElement } from './abstract-element';
|
||||
|
||||
export class Image extends Box {
|
||||
public imageData: string;
|
||||
@@ -19,4 +20,8 @@ export class Image extends Box {
|
||||
});
|
||||
return doc;
|
||||
}
|
||||
|
||||
public getElements(): AbstractElement[] {
|
||||
return [this];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user