Interface IFontId
Represents a font identifier.
Not intended for plugins to implement.
Assembly: Dalamud.dll
View Source
Declaration
public interface IFontId : IObjectWithLocalizableName
Properties
Family
Gets the associated font family.
View Source
Declaration
IFontFamilyId Family { get; }
Weight
Gets the font weight, ranging from 1 to 999.
View Source
Declaration
int Weight { get; }
Stretch
Gets the font stretch, ranging from 1 to 9.
View Source
Declaration
int Stretch { get; }
Style
Gets the font style. Treat as an opaque value.
View Source
Declaration
int Style { get; }
Methods
AddToBuildToolkit(IFontAtlasBuildToolkitPreBuild, in SafeFontConfig)
Adds this font to the given font build toolkit.
View Source
Declaration
ImFontPtr AddToBuildToolkit(IFontAtlasBuildToolkitPreBuild tk, in SafeFontConfig config)
Returns
ImGuiNET.ImFontPtr: The added font.
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Interface.ManagedFontAtlas.IFontAtlasBuildToolkitPreBuild | tk | The font build toolkit. |
Dalamud.Interface.ManagedFontAtlas.SafeFontConfig | config | The font configuration. Some parameters may be ignored. |