remove deprecated mutable drawing functions: scale, setXY
This commit is contained in:
@ -15,11 +15,4 @@ export class Extents extends XmlComponent {
|
||||
|
||||
this.root.push(this.attributes);
|
||||
}
|
||||
|
||||
public setXY(x: number, y: number): void {
|
||||
this.attributes.set({
|
||||
cx: x,
|
||||
cy: y,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -37,8 +37,4 @@ export class Form extends XmlComponent {
|
||||
this.root.push(new Offset());
|
||||
this.root.push(this.extents);
|
||||
}
|
||||
|
||||
public setXY(x: number, y: number): void {
|
||||
this.extents.setXY(x, y);
|
||||
}
|
||||
}
|
||||
|
@ -26,8 +26,4 @@ export class ShapeProperties extends XmlComponent {
|
||||
// this.root.push(new NoFill());
|
||||
// this.root.push(new Outline());
|
||||
}
|
||||
|
||||
public setXY(x: number, y: number): void {
|
||||
this.form.setXY(x, y);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user