🅿️ShapeStyle
SwiftUI ⟩ shapes ⟩ ShapeStyle (protocol)

- ShapeStyle:- type method .shadow() :爲 current style 加陰影 
- instance method .shadow() :爲 ShapeStyle 的 instance 加陰影 
 
- view.foregroundStyle():設定前景元素的 - ShapeStyle。

- SwiftUI ⟩ - View ⟩ .foregroundStyle(_:) :設定前景元素的 - ShapeStyle。
 
- Swift with Majid ⟩ The many faces of ShapeStyle in SwiftUI #todo 
Last updated
Was this helpful?