TextDataServices

Namespace: Murder.Core.Graphics
Assembly: Murder.dll

public static class TextDataServices

⭐ Methods

EscapeRegex()

public Regex EscapeRegex()

Returns
Regex

GetOrCreateText(PixelFontSize, string, TextSettings)

public RuntimeTextData GetOrCreateText(PixelFontSize font, string text, TextSettings settings)

Parameters
font PixelFontSize
text string
settings TextSettings

Returns
RuntimeTextData

GetOrCreateText(int, string, TextSettings)

public RuntimeTextData GetOrCreateText(int fontId, string text, TextSettings settings)

Parameters
fontId int
text string
settings TextSettings

Returns
RuntimeTextData