MurderFontServices

Namespace: Murder.Services
Assembly: Murder.dll

public static class MurderFontServices

⭐ Methods

GetLineWidth(MurderFonts, ReadOnlySpan)

public float GetLineWidth(MurderFonts font, ReadOnlySpan<T> text)

Parameters
font MurderFonts
text ReadOnlySpan<T>

Returns
float

GetLineWidth(MurderFonts, string)

public float GetLineWidth(MurderFonts font, string text)

Parameters
font MurderFonts
text string

Returns
float

GetLineWidth(int, string)

public float GetLineWidth(int font, string text)

Parameters
font int
text string

Returns
float