Initializer

init(pattern:color:)

Creates a line style.

Declaration 宣言

init(pattern: Text.LineStyle.Pattern = .solid, color: Color? = nil)

Parameters パラメータ

pattern

The pattern of the line.

color

The color of the line. If not provided, the foreground color of text is used.

See Also 参照

Creating a Text Line Style