VectSharp 2.6.1
A light library for C# vector graphics
|
Represents a font library with methods to create FontFamily objects from a string or from FontFamily.StandardFontFamilies. More...
Public Member Functions | |
FontFamily | ResolveFontFamily (string fontFamily) |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised. More... | |
FontFamily | ResolveFontFamily (string fontFamily, params string[] fallback) |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised. More... | |
FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) |
Create a new font family from the specified standard font family name. More... | |
FontFamily | ResolveFontFamily (string fontFamily, FontFamily.StandardFontFamilies finalFallback, params string[] fallback) |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback . More... | |
Represents a font library with methods to create FontFamily objects from a string or from FontFamily.StandardFontFamilies.
Definition at line 28 of file FontLibrary.cs.
FontFamily VectSharp.IFontLibrary.ResolveFontFamily | ( | FontFamily.StandardFontFamilies | standardFontFamily | ) |
Create a new font family from the specified standard font family name.
standardFontFamily | The standard name of the font family. |
Implemented in VectSharp.FontLibrary, VectSharp.SimpleFontLibrary, VectSharp.DefaultFontLibrary, VectSharp.FolderFontLibrary, and VectSharp.MultiFontLibrary.
FontFamily VectSharp.IFontLibrary.ResolveFontFamily | ( | string | fontFamily | ) |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.
fontFamily | The name of the font family to create, or the path to a TTF file. |
Implemented in VectSharp.FontLibrary, VectSharp.SimpleFontLibrary, VectSharp.DefaultFontLibrary, VectSharp.FolderFontLibrary, and VectSharp.MultiFontLibrary.
FontFamily VectSharp.IFontLibrary.ResolveFontFamily | ( | string | fontFamily, |
FontFamily.StandardFontFamilies | finalFallback, | ||
params string[] | fallback | ||
) |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, instantiate a standard font family using the finalFallback .
fontFamily | The name of the font family to create, or the path to a TTF file. |
fallback | Names of additional font families or TTF files, which will be tried if the first fontFamily is not valid. |
finalFallback | The standard name of the font family that will be used if none of the fallback families are valid. |
Implemented in VectSharp.FontLibrary.
FontFamily VectSharp.IFontLibrary.ResolveFontFamily | ( | string | fontFamily, |
params string[] | fallback | ||
) |
Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the fallback . If none of the fallback family names or true type files are valid, an exception might be raised.
fontFamily | The name of the font family to create, or the path to a TTF file. |
fallback | Names of additional font families or TTF files, which will be tried if the first fontFamily is not valid. |
Implemented in VectSharp.FontLibrary.