Style

struct Style
  • Declaration

    Swift

    public static func font(_ font: UIFont) -> Style
  • Declaration

    Swift

    public static func color(_ color: UIColor) -> Style
  • Declaration

    Swift

    public static func bgColor(_ color: UIColor) -> Style
  • Declaration

    Swift

    public static func strokeColor(_ color: UIColor) -> Style
  • Declaration

    Swift

    public static func link(_ link: String) -> Style
  • Declaration

    Swift

    public static func link(_ link: URL) -> Style
  • Declaration

    Swift

    public static let oblique: AttributedString.Style
  • Declaration

    Swift

    public static func underline(_ color: UIColor, _ style: NSUnderlineStyle) -> Style
  • Declaration

    Swift

    public static func alignment(_ alignment: NSTextAlignment) -> Style