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