Skip to content

Commit

Permalink
Update QuadraticBezierShape.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranb662 authored Jul 29, 2020
1 parent da47035 commit 4ed7611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Shapes/QuadraticBezierShape.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 4ed7611

Please sign in to comment.