diff --git a/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift b/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift index a30ebd685..aaecf20e7 100644 --- a/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift +++ b/Sources/OpenSwiftUICore/Shape/ShapeStyle/BlendMode.swift @@ -2,8 +2,8 @@ // BlendMode.swift // OpenSwiftUICore // -// Audited for 6.0.87 -// Status: WIP +// Audited for 6.5.4 +// Status: Complete // MARK: - BlendMode @@ -33,7 +33,9 @@ public enum BlendMode: Sendable { case plusLighter } +@available(OpenSwiftUI_v3_0, *) extension ShapeStyle { + /// Returns a new style based on `self` that applies the specified /// blend mode when drawing. @inlinable @@ -42,7 +44,9 @@ extension ShapeStyle { } } +@available(OpenSwiftUI_v4_0, *) extension ShapeStyle where Self == AnyShapeStyle { + /// Returns a new style based on the current style that uses /// `mode` as its blend mode when drawing. /// @@ -64,42 +68,51 @@ extension ShapeStyle where Self == AnyShapeStyle { } } +@available(OpenSwiftUI_v3_0, *) @frozen public struct _BlendModeShapeStyle