123456789101112131415161718192021222324 |
- import { DynamicObject } from "./dynamic-object";
- export class GeometricObject extends DynamicObject {
- constructor(id) {
- super(id);
- this.borderColor;
- this.backgroundColor;
- this.edgeThinckness;
- this.draggable = false;
- this.visible = true;
- }
- setBorderColor(color) {
- this.borderColor = color;
- }
- setBackgroundColor(color) {
- this.backgroundColor = color;
- }
- setEdgeThinckness(edgeThinckness) {
- this.edgeThinckness = edgeThinckness;
- }
- update(konvaObject, event) {
- throw "not implemented exception";
- }
- }
|