/// <summary> /// Get the height of a GTA font /// </summary> public static int GetHeight(StandardFont font = StandardFont.Default, float scale = 1) { return(MtaClient.DxGetFontHeight(scale, font.ToString().ToLower())); }
/// <summary> /// Get the height of a custom font /// </summary> public static int GetHeight(Font font, float scale = 1) { return(MtaClient.DxGetFontHeight(scale, font.MTAFont)); }
/// <summary> /// Get the height of this font /// </summary> public int GetHeight(float scale = 1) { return(MtaClient.DxGetFontHeight(scale, _font)); }