2018-07-11 12:45:02 +00:00
|
|
|
import Point from './point';
|
2018-07-10 19:29:09 +02:00
|
|
|
export default class Part {
|
2018-07-11 12:45:02 +00:00
|
|
|
id: string | number;
|
|
|
|
points: {
|
|
|
|
[index: string]: Point;
|
|
|
|
};
|
|
|
|
[propName: string]: any;
|
|
|
|
constructor(id: string | number);
|
|
|
|
newPoint(id: string | number, x: number, y: number): void;
|
2018-07-10 19:29:09 +02:00
|
|
|
}
|