single
TypeScriptstatic get single(): Text_LineStyleSwift declarationstatic let single: Text.LineStyleDraw a single solid line.
struct · iOS 15.0+ · SDK 27.1
struct LineStyleDescription of the style used to draw the line for `StrikethroughStyleAttribute` and `UnderlineStyleAttribute`. Use this type to specify `underlineStyle` and `strikethroughStyle` SwiftUI attributes of an `AttributedString`.
static get single(): Text_LineStyleSwift declarationstatic let single: Text.LineStyleDraw a single solid line.
static init(pattern?: Text_LineStyle_Pattern, color?: (Color) | null): Text_LineStyleSwift declarationinit(pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil)Creates a line style. - Parameters: - pattern: The pattern of the line. - color: The color of the line. If not provided, the foreground color of text is used.
No declarations were skipped in this snapshot.