Skip to content

Commit f917bde

Browse files
committed
Update FillStyle and StrokeStyle
1 parent 9df1054 commit f917bde

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Sources/OpenSwiftUICore/Shape/FillStyle.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
// FillStyle.swift
33
// OpenSwiftUICore
44
//
5-
// Audited for 6.0.87
5+
// Audited for 6.5.4
66
// Status: Complete
77

88
/// A style for rasterizing vector shapes.
9+
@available(OpenSwiftUI_v1_0, *)
910
@frozen
1011
public struct FillStyle: Equatable {
1112

Sources/OpenSwiftUICore/Shape/StrokeStyle.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
// StrokeStyle.swift
33
// OpenSwiftUICore
44
//
5-
// Audited for 6.0.87
5+
// Audited for 6.5.4
66
// Status: Complete
77

88
public import Foundation
99
public import OpenCoreGraphicsShims
1010

1111
/// The characteristics of a stroke that traces a path.
12+
@available(OpenSwiftUI_v1_0, *)
1213
@frozen
1314
public struct StrokeStyle: Equatable {
1415
/// The width of the stroked path.
@@ -51,6 +52,7 @@ public struct StrokeStyle: Equatable {
5152
}
5253
}
5354

55+
@available(OpenSwiftUI_v1_0, *)
5456
extension StrokeStyle: Animatable {
5557
public var animatableData: AnimatablePair<CGFloat, AnimatablePair<CGFloat, CGFloat>> {
5658
get {

0 commit comments

Comments
 (0)