FontTraitToggleCommand
public class FontTraitToggleCommand : EditorCommand
Editor command that toggles given font trait to the selected range in the Editor.
-
Undocumented
Declaration
Swift
public let trait: UIFontDescriptor.SymbolicTraits -
Declaration
Swift
public let name: CommandName -
Undocumented
Declaration
Swift
public init(name: CommandName, trait: UIFontDescriptor.SymbolicTraits) -
Declaration
Swift
public func execute(on editor: EditorView)
View on GitHub
FontTraitToggleCommand Class Reference