Interface IFontFamily
  
  
  
  Assembly: Ritchie.Toolbox.dll
  Syntax
  
    public interface IFontFamily
   
  Methods
  
  Draw(GeometryHelper, Vector2, Color, string, float, int, FontWeight, bool)
  
  
  Declaration
  
    void Draw(GeometryHelper geometry, Vector2 position, Color color, string text, float characterSpacing, int fontSize, FontWeight weight = FontWeight.Normal, bool preferItalic = false)
   
  Parameters
  
  
  Draw(GeometryHelper, Vector2, Color, Rune, int, FontWeight, bool)
  
  
  Declaration
  
    void Draw(GeometryHelper geometry, Vector2 position, Color color, Rune rune, int fontSize, FontWeight weight = FontWeight.Normal, bool preferItalic = false)
   
  Parameters
  
  
  GetFont(FontWeight, bool)
  
  
  Declaration
  
    Font GetFont(FontWeight weight, bool italic)
   
  Parameters
  
  Returns
  
  
  GetLineHeight(int, FontWeight, bool)
  
  
  Declaration
  
    int GetLineHeight(int fontSize, FontWeight weight = FontWeight.Normal, bool preferItalic = false)
   
  Parameters
  
  Returns
  
  
  GetUnderlineOffset(int?, FontWeight, bool)
  
  
  Declaration
  
    float GetUnderlineOffset(int? fontSize = null, FontWeight weight = FontWeight.Normal, bool preferItalic = false)
   
  Parameters
  
  Returns
  
  
  Measure(string, float, int, FontWeight, bool)
  
  
  Declaration
  
    Point Measure(string text, float characterSpacing, int fontSize, FontWeight weight = FontWeight.Normal, bool preferItalic = false)
   
  Parameters
  
  Returns