Files
docx-js/src/file/drawing/graphic/graphic-data/pic/blip/blip-fill.ts

14 lines
431 B
TypeScript
Raw Normal View History

import { XmlComponent } from "file/xml-components";
2017-03-13 00:02:56 +00:00
import { Blip } from "./blip";
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));
this.root.push(new SourceRectangle());
this.root.push(new Stretch());
2017-03-13 00:02:56 +00:00
}
}