/// <summary> /// Gets a font with the <see cref="FontFamilies.Fantasy"/> family and the specified size and style /// </summary> /// <param name="size">Size of the font</param> /// <param name="style">Style of the font</param> /// <param name="decoration">Decorations to apply to the font</param> /// <param name="generator">Generator to get the font</param> public static Font Fantasy(float size, FontStyle style = FontStyle.None, FontDecoration decoration = FontDecoration.None, Generator generator = null) { return(GetFont(FontFamilies.Fantasy(generator), size, style, decoration, generator)); }
/// <summary> /// Gets a font with the <see cref="FontFamilies.Cursive"/> family and the specified size and style /// </summary> /// <param name="size">Size of the font</param> /// <param name="style">Style of the font</param> /// <param name="generator">Generator to get the font</param> public static Font Cursive(float size, FontStyle style = FontStyle.None, Generator generator = null) { return(GetFont(FontFamilies.Cursive(generator), size, style, generator)); }