WebFont Class
Uses a web font in the resulting SVG markup.
public class WebFont : Font
Constructors
WebFont | Creates an instance of a WebFont. |
Properties
FallbackFont | Gets the fallback font that is used to render the text if the web font files cannot be downloaded. | |
FontFamily | Gets the generated font name of the web font. (Overrides Font.FontFamily) | |
OpenTypeUrl | Gets an URL to an OpenType font file to be included as a @font-face. | |
TrueTypeUrl | Gets an URL to a TrueType font file to be included as a @font-face. | |
Woff2Url | Gets an URL to a WOFF2 font file to be included as a @font-face. | |
WoffUrl | Gets an URL to a WOFF font file to be included as a @font-face. |
Methods
Equals | Determines whether the specified font is equal to the current one. (Overrides Object.Equals(Object)) | |
GetHashCode | Gets a hash code for this font. (Overrides Font.GetHashCode()) | |
ToString | Gets a string representation of this font. (Overrides Font.ToString()) |