Operator implicit operator
implicit operator Thickness(double)
Implicit operator convertion from a single value to Thickness. All fields of thickness instance are assigned with the same value.
public static implicit operator Thickness(double d)
Parameters
d
doubleNew thickness value.
Returns
implicit operator Thickness(int)
Implicit operator convertion from int to Thickness. All fields of thickness instance are assigned with the same int value.
public static implicit operator Thickness(int d)
Parameters
d
intNew thickness value.
Returns
implicit operator Thickness((double, double, double, double))
Implicit operator convertion from tuple with four values to Thickness.
public static implicit operator Thickness((double, double, double, double) d)