We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c85847 commit 2ee78a4Copy full SHA for 2ee78a4
1 file changed
Sources/OpenCoreGraphics/CGPath.swift
@@ -8,7 +8,7 @@
8
public import Foundation
9
10
/// A graphics path is a mathematical description of a series of shapes or lines.
11
-public struct CGPath {
+public final class CGPath {
12
13
public typealias Element = PathElement
14
@@ -20,6 +20,14 @@ public struct CGPath {
20
}
21
22
23
+public final class CGPathRef {
24
+ public var path: CGPath
25
+
26
+ public init(path: CGPath) {
27
+ self.path = path
28
+ }
29
+}
30
31
// MARK: - Supporting Types
32
33
/// A path element.
0 commit comments