Struct StyleColor
Syntax
public struct StyleColor : IStyleValue<Color>, IEquatable<StyleColor>
Constructors
StyleColor(Color)
Declaration
public StyleColor(Color v)
Parameters
Type |
Name |
Description |
Color |
v |
|
StyleColor(StyleKeyword)
Declaration
public StyleColor(StyleKeyword keyword)
Parameters
Properties
keyword
Declaration
public StyleKeyword keyword { get; set; }
Property Value
value
Declaration
public Color value { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(StyleColor)
Declaration
public bool Equals(StyleColor other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
ToString()
Declaration
public override string ToString()
Returns
Operators
Equality(StyleColor, Color)
Declaration
public static bool operator ==(StyleColor lhs, Color rhs)
Parameters
Returns
Equality(StyleColor, StyleColor)
Declaration
public static bool operator ==(StyleColor lhs, StyleColor rhs)
Parameters
Returns
Implicit(Color to StyleColor)
Declaration
public static implicit operator StyleColor(Color v)
Parameters
Type |
Name |
Description |
Color |
v |
|
Returns
Implicit(StyleKeyword to StyleColor)
Declaration
public static implicit operator StyleColor(StyleKeyword keyword)
Parameters
Returns
Inequality(StyleColor, Color)
Declaration
public static bool operator !=(StyleColor lhs, Color rhs)
Parameters
Returns
Inequality(StyleColor, StyleColor)
Declaration
public static bool operator !=(StyleColor lhs, StyleColor rhs)
Parameters
Returns