Inheritance
System.Object
FontWeight
public class FontWeight : IEquatable<FontWeight>
Fields
Declaration
public static readonly FontWeight bold
Field Value
Declaration
public readonly int index
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public static readonly Dictionary<int, int> indexToFontWeight
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Int32, System.Int32> |
|
Declaration
public static readonly FontWeight normal
Field Value
Declaration
public static readonly List<FontWeight> values
Field Value
Type |
Description |
System.Collections.Generic.List<FontWeight> |
|
Declaration
public static readonly FontWeight w100
Field Value
Declaration
public static readonly FontWeight w200
Field Value
Declaration
public static readonly FontWeight w300
Field Value
Declaration
public static readonly FontWeight w400
Field Value
Declaration
public static readonly FontWeight w500
Field Value
Declaration
public static readonly FontWeight w600
Field Value
Declaration
public static readonly FontWeight w700
Field Value
Declaration
public static readonly FontWeight w800
Field Value
Declaration
public static readonly FontWeight w900
Field Value
Properties
Declaration
public int weightValue { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(FontWeight other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Declaration
public static bool operator ==(FontWeight left, FontWeight right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(FontWeight left, FontWeight right)
Parameters
Returns
Type |
Description |
System.Boolean |
|