Initializer

init(nsUnderlineStyle:)

Creates a Text.LineStyle from NSUnderlineStyle.

Declaration 宣言

init?(nsUnderlineStyle: NSUnderlineStyle)

Return Value 戻り値

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

Parameters パラメータ

nsUnderlineStyle

A value of NSUnderlineStyle to wrap with Text.LineStyle.

Discussion 議論

See Also 参照

Creating a Text Line Style