1 | import { EdgeBase } from "./util/edge-base";
|
2 | import { EdgeFormattingValues, Label, EdgeOptions, Point, PointT, SelectiveRequired, VBody, VNode } from "./util/types";
|
3 |
|
4 |
|
5 |
|
6 | export declare class StraightEdge extends EdgeBase {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | constructor(options: EdgeOptions, body: VBody, labelModule: Label);
|
15 | /** @inheritDoc */
|
16 | protected _line(ctx: CanvasRenderingContext2D, values: SelectiveRequired<EdgeFormattingValues, "shadowColor" | "shadowSize" | "shadowX" | "shadowY">): void;
|
17 | /** @inheritDoc */
|
18 | getViaNode(): undefined;
|
19 | /** @inheritDoc */
|
20 | getPoint(position: number): Point;
|
21 | /** @inheritDoc */
|
22 | protected _findBorderPosition(nearNode: VNode, ctx: CanvasRenderingContext2D): PointT;
|
23 | /** @inheritDoc */
|
24 | protected _getDistanceToEdge(x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): number;
|
25 | }
|
26 | //# sourceMappingURL=straight-edge.d.ts.map |
\ | No newline at end of file |