tahamajs's picture
download
raw
540 Bytes
// @flow
import Point from '@mapbox/point-geometry';
import {register} from '../util/web_worker_transfer';
class Anchor extends Point {
angle: any;
segment: number | void;
constructor(x: number, y: number, angle: number, segment?: number) {
super(x, y);
this.angle = angle;
if (segment !== undefined) {
this.segment = segment;
}
}
clone() {
return new Anchor(this.x, this.y, this.angle, this.segment);
}
}
register('Anchor', Anchor);
export default Anchor;

Xet Storage Details

Size:
540 Bytes
·
Xet hash:
f34993ca3767c7bd519ebc9bfe75840ff2f2d730d2c9dcba391d0913feab1e2b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.