refactor: move components from /drawing/inline to /drawing
- they will be used for other positioning element (floating)
This commit is contained in:
13
src/file/drawing/graphic/graphic-data/pic/blip/blip-fill.ts
Normal file
13
src/file/drawing/graphic/graphic-data/pic/blip/blip-fill.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
import { Blip } from "./blip";
|
||||
import { SourceRectangle } from "./source-rectangle";
|
||||
import { Stretch } from "./stretch";
|
||||
|
||||
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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user