2017-12-30 20:25:16 +00:00
|
|
|
import { XmlComponent } from "file/xml-components";
|
2017-03-13 00:02:56 +00:00
|
|
|
import { Blip } from "./blip";
|
2017-03-13 00:33:59 +00:00
|
|
|
import { SourceRectangle } from "./source-rectangle";
|
|
|
|
import { Stretch } from "./stretch";
|
2017-03-13 00:02:56 +00:00
|
|
|
|
|
|
|
export class BlipFill extends XmlComponent {
|
|
|
|
constructor(referenceId: number) {
|
|
|
|
super("pic:blipFill");
|
|
|
|
this.root.push(new Blip(referenceId));
|
2017-03-13 00:33:59 +00:00
|
|
|
this.root.push(new SourceRectangle());
|
|
|
|
this.root.push(new Stretch());
|
2017-03-13 00:02:56 +00:00
|
|
|
}
|
|
|
|
}
|