From 6cfeda180e42f7aaa9b365ff15fb93bcfa73367b Mon Sep 17 00:00:00 2001 From: Kieran Brown Date: Sun, 22 Mar 2020 10:55:16 -0400 Subject: [PATCH] changed a bit --- Sources/bez/PathExtensions.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/bez/PathExtensions.swift b/Sources/bez/PathExtensions.swift index 1c7e0be..8aba306 100644 --- a/Sources/bez/PathExtensions.swift +++ b/Sources/bez/PathExtensions.swift @@ -13,7 +13,7 @@ import SwiftUI @available(iOS 13.0, macOS 10.15, watchOS 6.0 , tvOS 13.0, *) public extension Path { /// The array of `Path.Elements` describing the path - public var elements: [Path.Element] { + var elements: [Path.Element] { var temp = [Path.Element]() forEach { (element) in temp.append(element) @@ -22,7 +22,7 @@ public extension Path { } /// Returns the starting point of the path - public func getStartPoint() -> CGPoint? { + func getStartPoint() -> CGPoint? { if isEmpty { return nil } @@ -47,7 +47,7 @@ public extension Path { } /// Returns the last point on the path rom the last curve command - public func getEndPoint() -> CGPoint? { + func getEndPoint() -> CGPoint? { if isEmpty { return nil }