Interface IFontResolver
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Provides functionality that converts a requested typeface into a physical font
public interface IFontResolver
- Extension Methods
Methods
CreateTypeface(string, FontWeight, FontSlant, FontSpacing)
Returns a new instance to a typeface with exactly specified styles
SKTypeface? CreateTypeface(string fontName, FontWeight weight, FontSlant slant, FontSpacing spacing)
Parameters
fontNamestringweightFontWeightslantFontSlantspacingFontSpacing
Returns
CreateTypeface(string, bool, bool)
Returns a new instance to a typeface that most closely matches the requested family name and style
SKTypeface? CreateTypeface(string fontName, bool bold, bool italic)