@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
24 lines • 595 B
TypeScript
export class ConnectionEndpointLayoutSpec {
/**
* @param {AABB2} box
* @param {Vector2} point
* @returns {ConnectionEndpointLayoutSpec}
*/
static from(box: AABB2, point: Vector2): ConnectionEndpointLayoutSpec;
/**
*
* @type {BoxLayoutSpec}
*/
box: BoxLayoutSpec;
/**
* Local offset inside the box where connection is attached
* @type {Vector2}
*/
point: Vector2;
/**
*
* @param {Vector2} result
*/
computePosition(result: Vector2): void;
}
//# sourceMappingURL=ConnectionEndpointLayoutSpec.d.ts.map