LocalFont Constructor
Creates a new instance of LocalFont.
public LocalFont( string fontFamily, FontWeight fontWeight = FontWeight.Normal, FontStyle fontStyle = FontStyle.Normal )
Parameters
- fontFamily String
- Font family name used in SVG file. Can be a list of font family names separated by comma. The last font family is recommended to be a generic font family, e.g. sans-serif.
- fontWeight FontWeight (Optional)
- Optional CSS font weight value.
- fontStyle FontStyle (Optional)
- Optional CSS font style value.