TextInterfaceState

public struct TextInterfaceState : Equatable

This struct holds information about the state of the text tool.

  • The last used font.

    Declaration

    Swift

    public let font: Font
  • The last used text color.

    Declaration

    Swift

    public let color: UIColor
  • The last used background color.

    Declaration

    Swift

    public let backgroundColor: UIColor
  • The last used text alignment.

    Declaration

    Swift

    public let alignment: NSTextAlignment