Click or drag to resize

FontTypeface Class

A font type that specifies the characteristics of a FontFamily variation
Inheritance Hierarchy

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class FontTypeface : Widget

The FontTypeface type exposes the following members.

Constructors
  NameDescription
Public methodFontTypeface
Initializes a new instance of a FontTypeface class with the specified handler
Top
Properties
  NameDescription
Public propertyBold
Gets a value indicating that this font typeface has a bold style
Public propertyFamily
Gets the family of this typeface
Public propertyFontStyle
Gets the style of this typeface
Public propertyIsSymbol
Gets a value indicating that this font is a symbol font and not generally used for text
Public propertyItalic
Gets a value indicating that this font typeface has an italic style
Public propertyLocalizedName
Gets the localized name of this typeface
Public propertyName
Gets the name of this typeface
Top
Methods
  NameDescription
Public methodEquals(Object)
Tests if this instance is equal to the specified object
(Overrides ObjectEquals(Object).)
Public methodEquals(FontTypeface)
Tests this instance for equality with another font typeface
Public methodGetHashCode
Gets the hash code for this instance
(Overrides ObjectGetHashCode.)
Public methodHasCharacterRange(RangeInt32)
Gets a value indicating that this font supports the character range specified
Public methodHasCharacterRange(Int32, Int32)
Gets a value indicating that this font supports the character range specified
Public methodHasCharacterRanges
Gets a value indicating that this font supports the character ranges specified
Public methodToString
Gets a string representation of this typeface
(Overrides WidgetToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Tests two FontTypeface objects for equality
Public operatorStatic memberInequality
Tests two FontTypeface objects for inequality
Top
Remarks
Each FontFamily can have different variations, such as Bold, Italic, Bold and Italic, etc. This class represents each supported typeface of a particular font family, and can be used to create a Font instance that uses this typeface, using the [M:Font(FontTypeface,float,FontDecoration,Generator)] constructor.
See Also