From da1c70ae6d58cab2e822c2a9847dd3169b4f1fae Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 9 Mar 2025 11:06:03 +0200 Subject: [PATCH] Types additions --- types/context.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/types/context.d.ts b/types/context.d.ts index 8898565..a4cfe84 100644 --- a/types/context.d.ts +++ b/types/context.d.ts @@ -4,6 +4,21 @@ export default class Context { height: number; enableMirroring: any; canvas: this; + strokeStyle; + fillStyle; + lineCap; + lineJoin; + miterLimit; + lineWidth; + globalAlpha; + font; + shadowColor; + shadowOffsetX; + shadowOffsetY; + shadowBlur; + textAlign; + textBaseline; + lineDash; getSerializedSvg(fixNamedEntities?: boolean): string; createPath(arg): any; getSvg(): SVGElement;