Skip to main content

Class FontAwesomeExtensions

Extension methods for Dalamud.Interface.FontAwesomeIcon.

Assembly: Dalamud.dll
View Source
Declaration
public static class FontAwesomeExtensions

Methods

ToIconChar(FontAwesomeIcon)

Convert the FontAwesomeIcon to a System.Char type.

View Source
Declaration
public static char ToIconChar(this FontAwesomeIcon icon)
Returns

System.Char: The converted icon.

Parameters
TypeNameDescription
Dalamud.Interface.FontAwesomeIconiconThe icon to convert.

ToIconString(FontAwesomeIcon)

Convert the FontAwesomeIcon to a System.String type.

View Source
Declaration
public static string ToIconString(this FontAwesomeIcon icon)
Returns

System.String: The converted icon.

Parameters
TypeNameDescription
Dalamud.Interface.FontAwesomeIconiconThe icon to convert.

GetSearchTerms(FontAwesomeIcon)

Get FontAwesome search terms.

View Source
Declaration
public static IEnumerable<string> GetSearchTerms(this FontAwesomeIcon icon)
Returns

System.Collections.Generic.IEnumerable<System.String>: string array of search terms or empty array if none.

Parameters
TypeNameDescription
Dalamud.Interface.FontAwesomeIconiconThe icon to pull search terms from.

GetCategories(FontAwesomeIcon)

Get FontAwesome categories.

View Source
Declaration
public static IEnumerable<string> GetCategories(this FontAwesomeIcon icon)
Returns

System.Collections.Generic.IEnumerable<System.String>: string array of categories or empty array if none.

Parameters
TypeNameDescription
Dalamud.Interface.FontAwesomeIconiconThe icon to pull categories from.