ButtonConfiguration
public struct ButtonConfiguration
Undocumented
-
init(backgroundColor:borderColor:titleColor:shadowColor:cornerRadius:borderWidth:shadowRadius:withBlurEffect:)Button configuration initalizer
Declaration
Swift
public init(backgroundColor: UIColor, borderColor: UIColor, titleColor: UIColor, shadowColor: UIColor, cornerRadius: CGFloat, borderWidth: CGFloat, shadowRadius: CGFloat, withBlurEffect: Bool)Parameters
backgroundColorthe button’s background color
borderColorthe button’s border color
titleColorthe button’s title color
shadowColorthe button’s color of the shadow
cornerRadiusthe button’s corner radius
borderWidththe button’s border width
shadowRadiusthe button’s shadow radius
withBlurEffectadds a blur effect on the button ignoring the background color and making it translucent
View on GitHub
ButtonConfiguration Structure Reference