LineFormatting
public struct LineFormatting
Describes the formatting of a line of text. While general purpose in nature, this is
used by EditorListFormattingProvider for providing formatting for lists.
-
Indentation of line
Declaration
Swift
public let indentation: CGFloat -
Vertical spacing before the line
Declaration
Swift
public let spacingBefore: CGFloat -
Vertical spacing after the line
Declaration
Swift
public let spacingAfter: CGFloat? -
Initializes
Declaration
Swift
public init(indentation: CGFloat, spacingBefore: CGFloat, spacingAfter: CGFloat? = nil)Parameters
indentationIndentation for each line of text
spacingBeforeVertical spacing before line of text
spacingAfterVertical spacing after line of text
View on GitHub
LineFormatting Structure Reference