rt-graphic-component/components/Section/Section.js

19 lines
437 B
JavaScript
Raw Normal View History

2023-12-19 14:20:48 +08:00
import { JlGraphic } from 'jl-graphic';
2023-12-25 13:55:02 +08:00
import { SectionGraphic } from './SectionGraphic.js';
2023-12-19 14:20:48 +08:00
class Section extends JlGraphic {
2023-12-25 13:55:02 +08:00
static Type = 'Section';
lineGraphic;
constructor() {
super(Section.Type);
this.lineGraphic = new SectionGraphic();
// this.transformSave = true;
this.addChild(this.lineGraphic);
}
2023-12-19 14:20:48 +08:00
doRepaint() {
console.log('repaint');
}
}
export { Section };