FormatOptions

public struct FormatOptions : Codable, Equatable, ExpressionArgumentConvertible

Undocumented

  • Applies a scaling factor on text-size as specified by the root layout property.

    Declaration

    Swift

    public var fontScaleValue: Value<Double>?
  • Applies a scaling factor on text-size as specified by the root layout property.

    Declaration

    Swift

    public var fontScale: Double? { get set }
  • Overrides the font stack specified by the root layout property.

    Declaration

    Swift

    public var textFontValue: Value<[String]>?
  • Overrides the font stack specified by the root layout property.

    Declaration

    Swift

    public var textFont: [String]? { get set }
  • Overrides the color specified by the root paint property.

    Declaration

    Swift

    public var textColorValue: Value<StyleColor>?
  • Overrides the color specified by the root paint property.

    Declaration

    Swift

    public var textColor: StyleColor? { get set }
  • Declaration

    Swift

    public var expressionArguments: [Expression.Argument] { get }
  • Undocumented

    Declaration

    Swift

    public init(fontScale: Value<Double>? = nil, textFont: Value<[String]>? = nil, textColor: Value<StyleColor>? = nil)
  • Undocumented

    Declaration

    Swift

    public init(fontScale: Double? = nil, textFont: [String]? = nil, textColor: UIColor? = nil)
  • Undocumented

    Declaration

    Swift

    public init()