RoundShadowImage
public struct RoundShadowImage : UIViewRepresentable
Undocumented
-
Undocumented
Declaration
Swift
public init(image: UIImage, cornerRadius: CGFloat = 3.0, shadowColor: UIColor = .black, shadowOffset: CGSize = CGSize(width: 0.0, height: 3.0), shadowOpacity: Float = 0.5, shadowRadius: CGFloat = 3.0)
-
Declaration
Swift
public func makeUIView(context: Context) -> RoundShadowImageView
-
Declaration
Swift
public func updateUIView(_ uiView: RoundShadowImageView, context: Context)
-
Declaration
Swift
public typealias UIViewType = RoundShadowImageView
-
Undocumented
Declaration
Swift
func cornerRadius(_ cornerRadius: CGFloat) -> RoundShadowImage
-
Undocumented
Declaration
Swift
func shadowColor(_ shadowColor: UIColor) -> RoundShadowImage
-
Undocumented
Declaration
Swift
func shadowOffset(_ shadowOffset: CGSize) -> RoundShadowImage
-
Undocumented
Declaration
Swift
func shadowOpacity(_ shadowOpacity: Float) -> RoundShadowImage
-
Undocumented
Declaration
Swift
func shadowRadius(_ shadowRadius: CGFloat) -> RoundShadowImage