From 0295c0e3dac7065efea77fee2fa85b602297a61b Mon Sep 17 00:00:00 2001 From: Alisa Mylnikova Date: Fri, 25 May 2018 14:58:11 +0700 Subject: [PATCH] Change default miter limit value --- Source/model/draw/Stroke.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/model/draw/Stroke.swift b/Source/model/draw/Stroke.swift index abb5458a..f39caf74 100644 --- a/Source/model/draw/Stroke.swift +++ b/Source/model/draw/Stroke.swift @@ -8,7 +8,7 @@ open class Stroke { open let dashes: [Double] open let offset: Double - public init(fill: Fill = Color.black, width: Double = 1, cap: LineCap = .butt, join: LineJoin = .miter, miterLimit: Double = 4, dashes: [Double] = [], offset: Double = 0.0) { + public init(fill: Fill = Color.black, width: Double = 1, cap: LineCap = .butt, join: LineJoin = .miter, miterLimit: Double = 10, dashes: [Double] = [], offset: Double = 0.0) { self.fill = fill self.width = width self.cap = cap