Class DalamudAssetFontAndFamilyId
Represents a font from Dalamud assets.
Assembly: Dalamud.dll
View Source
Declaration
public sealed class DalamudAssetFontAndFamilyId : IFontFamilyId, IFontId, IObjectWithLocalizableName
Implements:
Dalamud.Interface.FontIdentifier.IFontFamilyId, Dalamud.Interface.FontIdentifier.IFontId, Dalamud.Interface.FontIdentifier.IObjectWithLocalizableName
Properties
Asset
Gets the font asset.
View Source
Declaration
[JsonProperty]
public DalamudAsset Asset { get; init; }
EnglishName
Gets the name, preferrably in English.
View Source
Declaration
[JsonIgnore]
public string EnglishName { get; }
LocaleNames
Gets the names per locales.
View Source
Declaration
[JsonIgnore]
public IReadOnlyDictionary<string, string>? LocaleNames { get; }
Fonts
Gets the list of fonts under this family.
View Source
Declaration
[JsonIgnore]
public IReadOnlyList<IFontId> Fonts { get; }
Family
Gets the associated font family.
View Source
Declaration
[JsonIgnore]
public IFontFamilyId Family { get; }
Weight
Gets the font weight, ranging from 1 to 999.
View Source
Declaration
[JsonIgnore]
public int Weight { get; }
Stretch
Gets the font stretch, ranging from 1 to 9.
View Source
Declaration
[JsonIgnore]
public int Stretch { get; }
Style
Gets the font style. Treat as an opaque value.
View Source
Declaration
[JsonIgnore]
public int Style { get; }
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.