/// <summary> /// Initializes a new instance of the <see cref="Text"/> class. /// </summary> public Text() { _value = null; _font = null; _characterSize = 30; _style = Font.Style.Regular; _color = Color.White; _outlineColor = Color.FromArgb(0, 0, 0, 0); _outlineThickness = 0f; _vertices = new VertexArray(PrimitiveType.Triangles); _outlineVertices = new VertexArray(PrimitiveType.Triangles); _bounds = RectangleF.Empty; _isGeometryUpdated = false; Visible = true; }
private static extern bool FontDatabase_LoadFontFace_Opt(String file_name, String family, Font.Style style, Font.Weight weight);
public static bool LoadFontFace(String fileName, String family, Font.Style style, Font.Weight weight) { return(FontDatabase_LoadFontFace_Opt(fileName, family, style, weight)); }