VectSharp 2.6.1
A light library for C# vector graphics
|
A font library that tries to resolve fonts using other font libraries. More...
Public Member Functions | |||||||
MultiFontLibrary (params FontLibrary[] libraries) | |||||||
Creates a new MultiFontLibrary resolving fonts using the specified libraries . More... | |||||||
MultiFontLibrary (IEnumerable< FontLibrary > libraries) | |||||||
Creates a new MultiFontLibrary resolving fonts using the specified libraries . 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 tries to resolve fonts using other font libraries.
Definition at line 654 of file FontLibrary.cs.
VectSharp.MultiFontLibrary.MultiFontLibrary | ( | params FontLibrary[] | libraries | ) |
Creates a new MultiFontLibrary resolving fonts using the specified libraries .
libraries | The font libraries that will be used, in order, to resolve the font families. |
ArgumentException | Thrown if the libraries do not contain any element. |
Definition at line 664 of file FontLibrary.cs.
VectSharp.MultiFontLibrary.MultiFontLibrary | ( | IEnumerable< FontLibrary > | libraries | ) |
Creates a new MultiFontLibrary resolving fonts using the specified libraries .
libraries | The font libraries that will be used, in order, to resolve the font families. |
ArgumentException | Thrown if the libraries do not contain any element. |
Definition at line 672 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 699 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 683 of file FontLibrary.cs.