ButtonStyle
public struct ButtonStyle
Important
This is a Public Preview API. It may be changed or removed at any time.-
init(backgroundColor:
disabledBackgroundColor: tintColor: disabledTintColor: font: height: cornerRadius: equalDimensions: shadowStyle: borderLayer: ) Declaration
Swift
public init( backgroundColor: StyledColor, disabledBackgroundColor: StyledColor? = nil, tintColor: StyledColor, disabledTintColor: StyledColor? = nil, font: UIFont? = nil, height: CGFloat, cornerRadius: CGFloat, equalDimensions: Bool, shadowStyle: ShadowStyle? = nil, borderLayer: CALayer? = nil )
-
Declaration
Swift
public var backgroundColor: StyledColor
-
Declaration
Swift
public var disabledBackgroundColor: StyledColor?
-
Declaration
Swift
public var tintColor: StyledColor
-
Declaration
Swift
public var disabledTintColor: StyledColor?
-
Declaration
Swift
public var font: UIFont?
-
Declaration
Swift
public var height: CGFloat
-
Declaration
Swift
public var cornerRadius: CGFloat
-
Declaration
Swift
public var equalDimensions: Bool
-
Declaration
Swift
public var shadowStyle: ShadowStyle?
-
Declaration
Swift
public var borderLayer: CALayer?