Text

public struct Text : XMLRepresentable

Undocumented

  • Specifies the possible display styles of a text element.

    Declaration

    Swift

    public enum DisplayStyle : String, Codable
  • Specifies the possible placements of a text element.

    Declaration

    Swift

    public enum Placement : String, Codable
  • The value of the text.

    Declaration

    Swift

    public var value: String?
  • The text styles of the text.

    Declaration

    Swift

    public var textStyles: [TextStyle]
  • The display style of the text.

    Declaration

    Swift

    public var displayStyle: Text.DisplayStyle?
  • The roll up height of the text.

    Declaration

    Swift

    public var rollUpHeight: Double?
  • The position of the text.

    Declaration

    Swift

    public var position: Point?
  • The placement of the text.

    Declaration

    Swift

    public var placement: Placement
  • The alignment of the text.

    Declaration

    Swift

    public var alignment: TextAlignment?
  • Initializes a new text.

    Declaration

    Swift

    public init(placement: Placement = .bottom)

    Parameters

    placement

    The placement of the text, bottom by default.