From 4ed76115bdf4b8e0e4db262522b881ae94780ac8 Mon Sep 17 00:00:00 2001 From: Kieran Brown Date: Wed, 29 Jul 2020 12:40:14 -0400 Subject: [PATCH] Update QuadraticBezierShape.swift --- Sources/Shapes/QuadraticBezierShape.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Shapes/QuadraticBezierShape.swift b/Sources/Shapes/QuadraticBezierShape.swift index f625a48..67468c7 100644 --- a/Sources/Shapes/QuadraticBezierShape.swift +++ b/Sources/Shapes/QuadraticBezierShape.swift @@ -8,7 +8,7 @@ import SwiftUI -struct QuadraticBezierShape: Shape { +public struct QuadraticBezierShape: Shape { public var start: CGPoint public var control: CGPoint public var end: CGPoint @@ -27,7 +27,7 @@ struct QuadraticBezierShape: Shape { } } - func path(in rect: CGRect) -> Path { + public func path(in rect: CGRect) -> Path { Path { path in path.move(to: self.start) path.addQuadCurve(to: self.end,