Add image dimensions
This commit is contained in:
@ -8,14 +8,14 @@ import { ShapePropertiesAttributes } from "./shape-properties-attributes";
|
||||
|
||||
export class ShapeProperties extends XmlComponent {
|
||||
|
||||
constructor() {
|
||||
constructor(x: number, y: number) {
|
||||
super("pic:spPr");
|
||||
|
||||
this.root.push(new ShapePropertiesAttributes({
|
||||
bwMode: "auto",
|
||||
}));
|
||||
|
||||
this.root.push(new Form());
|
||||
this.root.push(new Form(x, y));
|
||||
this.root.push(new PresetGeometry());
|
||||
// this.root.push(new NoFill());
|
||||
// this.root.push(new Outline());
|
||||
|
Reference in New Issue
Block a user