VectSharp 2.6.1
A light library for C# vector graphics
|
A font library that resolves fonts from a folder containing TrueType files. More...
Public Member Functions | |||||||
FolderFontLibrary (string folderPath) | |||||||
Creates a new FolderFontLibrary using fonts from the specified path, and using the FontFamily.DefaultFontLibrary to resolve the standard font families. More... | |||||||
FolderFontLibrary (string folderPath, IFontLibrary standardFontLibrary) | |||||||
Creates a new FolderFontLibrary using fonts from the specified path, and using the specified IFontLibrary to resolve the standard font families. More... | |||||||
override 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.
| |||||||
override FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name.
| |||||||
Public Member Functions inherited from VectSharp.FontLibrary | |||||||
abstract 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.
| |||||||
abstract FontFamily | ResolveFontFamily (FontFamily.StandardFontFamilies standardFontFamily) | ||||||
Create a new font family from the specified standard font family name.
| |||||||
virtual 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.
| |||||||
virtual 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 .
| |||||||
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... | |||||||
A font library that resolves fonts from a folder containing TrueType files.
Definition at line 555 of file FontLibrary.cs.
VectSharp.FolderFontLibrary.FolderFontLibrary | ( | string | folderPath | ) |
Creates a new FolderFontLibrary using fonts from the specified path, and using the FontFamily.DefaultFontLibrary to resolve the standard font families.
folderPath | The path to the folder containing the TrueType files. |
Definition at line 565 of file FontLibrary.cs.
VectSharp.FolderFontLibrary.FolderFontLibrary | ( | string | folderPath, |
IFontLibrary | standardFontLibrary | ||
) |
Creates a new FolderFontLibrary using fonts from the specified path, and using the specified IFontLibrary to resolve the standard font families.
folderPath | The path to the folder containing the TrueType files. |
standardFontLibrary | The IFontLibrary to use when resolving standard font families. |
Definition at line 572 of file FontLibrary.cs.
|
virtual |
Create a new font family from the specified standard font family name.
standardFontFamily | The standard name of the font family. |
Implements VectSharp.FontLibrary.
Definition at line 636 of file FontLibrary.cs.
|
virtual |
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. |
Implements VectSharp.FontLibrary.
Definition at line 604 of file FontLibrary.cs.