[]
Specifies a font family name or a generic family name.
public class SvgFontFamily : IEquatable<SvgFontFamily>
Initializes a new instance of SvgFontFamily.
public SvgFontFamily(string fontName, bool quoted = false)
fontName
stringThe name of the font family.
quoted
boolIndicates whether the token must be quoted.
Gets the 'cursive' font family.
public static readonly SvgFontFamily Cursive
Gets the 'fantasy' font family.
public static readonly SvgFontFamily Fantasy
Gets the 'monospace' font family.
public static readonly SvgFontFamily Monospace
Gets the 'sans-serif' font family.
public static readonly SvgFontFamily SansSerif
Gets the 'serif' font family.
public static readonly SvgFontFamily Serif
Gets a type of the font family (regular font name or a generic family name).
public SvgFontFamilyType FamilyType { get; }
Gets the specific (non-generic) font name.
public string FontName { get; }
Gets a value indicating whether the font name must be quoted.
public bool Quoted { get; }
Determines whether the specified SvgFontFamily is equal to this instance.
public bool Equals(SvgFontFamily other)
other
SvgFontFamilyDetermines whether the specified object is equal to this instance.
public override bool Equals(object value)
value
objectReturns a hash code for this instance.
public override int GetHashCode()
Returns a string that represents the current SvgFontFamily.
public override string ToString()