Class FontFamily
Implements font family information
Inheritance
System.Object
FontFamily
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: EmptyKeys.UserInterface.Media
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class FontFamily
Constructors
FontFamily()
Initializes a new instance of the FontFamily class.
Declaration
public FontFamily()
FontFamily(String)
Initializes a new instance of the FontFamily class.
Declaration
public FontFamily(string familyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | familyName | Name of the family. |
Properties
Source
Gets the source.
Declaration
public string Source { get; }
Property Value
Type | Description |
---|---|
System.String | The source. |
Methods
Equals(Object)
Determines whether the specified System.Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
System.Object.GetHashCode()
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()