1 | import { RenderingContext2D } from '../types';
|
2 | /**
|
3 | * Wrap rendering context to log every action.
|
4 | * @param ctx - Rendering context.
|
5 | * @returns Proxy logger.
|
6 | */
|
7 | export declare function ctxLogger(ctx: RenderingContext2D): any;
|
8 | /**
|
9 | * Draw point.
|
10 | * @param ctx - Rendering context.
|
11 | * @param x - Point x.
|
12 | * @param y - Point y
|
13 | * @param radius - Point radius.
|
14 | */
|
15 | export declare function point(ctx: RenderingContext2D, x?: number, y?: number, radius?: number): void;
|
16 | /**
|
17 | * Draw triangle to vizualize angle.
|
18 | * @param ctx - Rendering context.
|
19 | * @param x - Angle x.
|
20 | * @param y - Angle y.
|
21 | * @param size - Triangle size.
|
22 | */
|
23 | export declare function angle(ctx: RenderingContext2D, x?: number, y?: number, size?: number): void;
|
24 | /**
|
25 | * Draw triangle to vizualize angle.
|
26 | * @param ctx - Rendering context.
|
27 | * @param x - Angle x.
|
28 | * @param y - Angle y.
|
29 | * @param width
|
30 | * @param height
|
31 | */
|
32 | export declare function box(ctx: RenderingContext2D, x: number, y: number, width: number, height: number): void;
|
33 | //# sourceMappingURL=debug.d.ts.map |
\ | No newline at end of file |