Struct FontFamilyInfo
Assembly: Ritchie.Toolbox.dll
Syntax
public struct FontFamilyInfo
Constructors
FontFamilyInfo(IFontFamily)
Declaration
public FontFamilyInfo(IFontFamily customFont)
Parameters
FontFamilyInfo(PresetFontFamily)
Declaration
public FontFamilyInfo(PresetFontFamily family)
Parameters
Methods
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
GetFont(IFontFamilyProvider)
Declaration
public IFontFamily GetFont(IFontFamilyProvider familyProvider)
Parameters
Returns
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Operators
operator ==(FontFamilyInfo, FontFamilyInfo)
Declaration
public static bool operator ==(FontFamilyInfo left, FontFamilyInfo right)
Parameters
Returns
implicit operator FontFamilyInfo(FontFamily)
Declaration
public static implicit operator FontFamilyInfo(FontFamily custom)
Parameters
Returns
implicit operator FontFamilyInfo(PresetFontFamily)
Declaration
public static implicit operator FontFamilyInfo(PresetFontFamily family)
Parameters
Returns
operator !=(FontFamilyInfo, FontFamilyInfo)
Declaration
public static bool operator !=(FontFamilyInfo left, FontFamilyInfo right)
Parameters
Returns