Struct StyleFontDefinition
Syntax
public struct StyleFontDefinition : IStyleValue<FontDefinition>, IEquatable<StyleFontDefinition>
Constructors
StyleFontDefinition(Font)
Declaration
public StyleFontDefinition(Font f)
Parameters
Type |
Name |
Description |
Font |
f |
|
StyleFontDefinition(FontAsset)
Declaration
public StyleFontDefinition(FontAsset f)
Parameters
Type |
Name |
Description |
FontAsset |
f |
|
StyleFontDefinition(FontDefinition)
Declaration
public StyleFontDefinition(FontDefinition f)
Parameters
StyleFontDefinition(StyleKeyword)
Declaration
public StyleFontDefinition(StyleKeyword keyword)
Parameters
Properties
keyword
Declaration
public StyleKeyword keyword { get; set; }
Property Value
value
The actual value of the definition.
Declaration
public FontDefinition value { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(StyleFontDefinition)
Declaration
public bool Equals(StyleFontDefinition other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Operators
Equality(StyleFontDefinition, StyleFontDefinition)
Declaration
public static bool operator ==(StyleFontDefinition left, StyleFontDefinition right)
Parameters
Returns
Implicit(FontDefinition to StyleFontDefinition)
Declaration
public static implicit operator StyleFontDefinition(FontDefinition f)
Parameters
Returns
Implicit(StyleKeyword to StyleFontDefinition)
Declaration
public static implicit operator StyleFontDefinition(StyleKeyword keyword)
Parameters
Returns
Inequality(StyleFontDefinition, StyleFontDefinition)
Declaration
public static bool operator !=(StyleFontDefinition left, StyleFontDefinition right)
Parameters
Returns