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