Contents

init(nsUnderlineStyle:)

Creates a Text.LineStyle from NSUnderlineStyle.

Declaration

init?(nsUnderlineStyle: NSUnderlineStyle)

Parameters

  • nsUnderlineStyle:

    A value of NSUnderlineStyle to wrap with Text.LineStyle.

Return Value

A new Text.LineStyle or nil when nsUnderlineStyle contains styles not supported by Text.LineStyle.

Discussion

See Also

Creating a text line style