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 fontScale: Double?
  • Overrides the font stack specified by the root layout property

    Declaration

    Swift

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

    Declaration

    Swift

    public var textColor: StyleColor?
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

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