From 122d3d5dd8f9874c112122e8805e600ef80ff8af Mon Sep 17 00:00:00 2001 From: Rayhan Alghiffari Azizi Date: Sat, 23 Sep 2023 22:09:16 +0700 Subject: [PATCH] Diagram : change strokejoin -> strokelinejoin --- src/diagram.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagram.ts b/src/diagram.ts index 850fc73..bef40ea 100644 --- a/src/diagram.ts +++ b/src/diagram.ts @@ -247,7 +247,7 @@ export class Diagram { public strokelinecap(linecap : 'butt' | 'round' | 'square') : Diagram { return this.update_style('stroke-linecap', linecap); } - public strokejoin(linejoin : 'arcs' | 'bevel' | 'miter' | 'miter-clip' | 'round') : Diagram { + public strokelinejoin(linejoin : 'arcs' | 'bevel' | 'miter' | 'miter-clip' | 'round') : Diagram { return this.update_style('stroke-linejoin', linejoin); } public strokedasharray(dasharray : number[]) : Diagram {