STPThreeDSButtonCustomization
public class STPThreeDSButtonCustomization : NSObject
A customization object to use to configure the UI of a button.
-
The default settings for the provided button type.
Declaration
Swift
@objc(defaultSettingsForButtonType:) public class func defaultSettings( for type: STPThreeDSCustomizationButtonType ) -> STPThreeDSButtonCustomization
-
Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius.
Declaration
Swift
@objc public init(backgroundColor: UIColor, cornerRadius: CGFloat)
-
The background color of the button. The default for .resend and .cancel is clear. The default for .submit, .continue, and .next is blue.
Declaration
Swift
@objc public var backgroundColor: UIColor { get set }
-
The corner radius of the button. Defaults to 8.
Declaration
Swift
@objc public var cornerRadius: CGFloat { get set }
-
The capitalization style of the button title.
Declaration
Swift
@objc public var titleStyle: STPThreeDSButtonTitleStyle { get set }
-
The font of the title.
Declaration
Swift
@objc public var font: UIFont? { get set }
-
The text color of the title.
Declaration
Swift
@objc public var textColor: UIColor? { get set }