Click or drag to resize

FontFamily Class

Specifies a family for a Font object
Inheritance Hierarchy

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class FontFamily : Widget, IEquatable<FontFamily>

The FontFamily type exposes the following members.

Constructors
  NameDescription
Public methodFontFamily(String)
Initializes a new instance of the FontFamily class with the given font familyName
Public methodFontFamily(FontFamilyIHandler)
Initializes a new instance of the FontFamily class with the specified handler
Top
Properties
  NameDescription
Public propertyLocalizedName
Gets the localized name of the font for the current UI language
Public propertyName
Gets the name of this font family
Public propertyTypefaces
Gets an enumeration of the one or more supported typefaces for this font family
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Tests two FontFamily objects for equality
Public operatorStatic memberInequality
Tests two FontFamily objects for inequality
Top
Remarks
A font family defines the overall look of the font, such as "Times New Roman", "Helvetica", etc. Each family consists of one or more Typefaces, which define the variations of each font family. The variations can include Light, Bold, Italic, Oblique, etc. Only the styles in FontStyle are discoverable, other than looking at the Name for hints as to what the variation will look like.
See Also