From e96b9193ccc4cd275b393bb490707bdd98a5a764 Mon Sep 17 00:00:00 2001 From: Mikalai Turankou Date: Wed, 21 May 2025 14:52:57 +0300 Subject: [PATCH] Fixed incorrect type of polygon clip shape while converting it to a string --- clipShape.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipShape.go b/clipShape.go index 7233bdd..fd2085e 100644 --- a/clipShape.go +++ b/clipShape.go @@ -506,7 +506,7 @@ func (clip *polygonClipData) points() []any { func (clip *polygonClipData) writeString(buffer *strings.Builder, indent string) { - buffer.WriteString("inset { ") + buffer.WriteString("polygon { ") if points := clip.points(); points != nil { buffer.WriteString(string(Points))