1234567891011121314151617181920212223242526272829303132 |
- import { DynamicObject } from "./dynamic-object";
- export class GeometricObject extends DynamicObject {
- /**
- * @param {number} id Id of object
- */
- constructor(id) {
- super(id);
- this.borderColor;
- this.backgroundColor;
- this.edgeThinckness;
- this.draggable = false;
- }
- setBorderColor(color) {
- this.borderColor = color;
- }
- setBackgroundColor(color) {
- this.backgroundColor = color;
- }
- setEdgeThinckness(edgeThinckness) {
- this.edgeThinckness = edgeThinckness;
- }
- /**
- * Update properties of this Intersection
- * @param {DrawerAggregator} aggregator Drawer Aggregator
- * @param {event} event
- */
- update(konvaObject, event) {
- throw "not implemented exception";
- }
- }
|