CLASS
TextAppearance
Contents
- Methods
init(textAlignment:fontTextStyle:lineHeightMultiple:kern:fontText:fontSymbolicTrait:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
 
public final class TextAppearance: UIStyle
The UIStyle subclass used for a single UILabel UI component styling definitions.
- Note: Available TextStyle Theme configuration options:
 
- fontTextStyle: String
- fontSymbolicTrait: String
- textColorName: String
- textAlignment: String
- lineHeightMultiple: Double
- kern: Double
Methods
init(textAlignment:fontTextStyle:lineHeightMultiple:kern:fontText:fontSymbolicTrait:paddingLeft:paddingTop:paddingRight:paddingBottom:backgroundColor:)
public init(textAlignment: NSTextAlignment,
            fontTextStyle: UIFont.TextStyle,
            lineHeightMultiple: Double,
            kern: Double,
            fontText: UIFont,
            fontSymbolicTrait: UIFontDescriptor.SymbolicTraits?,
            paddingLeft: Double,
            paddingTop: Double,
            paddingRight: Double,
            paddingBottom: Double,
            backgroundColor: UIColor?)
Creates a TextAppearance.
- Parameters:
- textAlignment: The text alignment.
 - fontTextStyle: The font text style.
 - lineHeightMultiple: The line height.
 - kern: The kern.
 - fontSymbolicTrait: The font symbolic trait.
 - paddingLeft: The left padding of the view.
 - paddingTop: The top padding of the view.
 - paddingRight: The right padding of the view.
 - paddingBottom: The bottom padding of the view.
 - backgroundColor: The background color.
 
 
Parameters
| Name | Description | 
|---|---|
| textAlignment | The text alignment. | 
| fontTextStyle | The font text style. | 
| lineHeightMultiple | The line height. | 
| kern | The kern. | 
| fontSymbolicTrait | The font symbolic trait. | 
| paddingLeft | The left padding of the view. | 
| paddingTop | The top padding of the view. | 
| paddingRight | The right padding of the view. | 
| paddingBottom | The bottom padding of the view. | 
| backgroundColor | The background color. |