2018-08-09 01:55:50 +01:00
|
|
|
import { ImageParagraph, PictureRun } from "../paragraph";
|
|
|
|
|
|
|
|
export class Image {
|
|
|
|
constructor(private readonly paragraph: ImageParagraph) {}
|
|
|
|
|
|
|
|
public get Paragraph(): ImageParagraph {
|
|
|
|
return this.paragraph;
|
|
|
|
}
|
|
|
|
|
|
|
|
public get Run(): PictureRun {
|
|
|
|
return this.paragraph.Run;
|
|
|
|
}
|
2018-08-09 21:58:50 +01:00
|
|
|
|
|
|
|
public scale(factorX: number, factorY?: number): void {
|
|
|
|
this.paragraph.Run.scale(factorX, factorY);
|
|
|
|
}
|
2018-08-09 01:55:50 +01:00
|
|
|
}
|