Skip to content

Commit

Permalink
changed a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranb662 committed Mar 22, 2020
1 parent 4eaff11 commit 6cfeda1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/bez/PathExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
}
Expand All @@ -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
}
Expand Down

0 comments on commit 6cfeda1

Please sign in to comment.