Operator implicit operator
implicit operator BrushOrColor(Brush)
Implicitly converts a Brush to a BrushOrColor.
public static implicit operator BrushOrColor(Brush d)
Parameters
Returns
implicit operator BrushOrColor(Color)
Implicitly converts a Color to a BrushOrColor.
public static implicit operator BrushOrColor(Color d)
Parameters
Returns
implicit operator BrushOrColor((byte Red, byte Green, byte Blue))
Implicit operator conversion from tuple with three byte values to BrushOrColor. Tuple values define RGB of the color.
public static implicit operator BrushOrColor((byte Red, byte Green, byte Blue) d)
Parameters
Returns
implicit operator BrushOrColor((byte Alpha, byte Red, byte Green, byte Blue))
Implicit operator conversion from tuple with four byte values to BrushOrColor. Tuple values define ARGB of the color.
public static implicit operator BrushOrColor((byte Alpha, byte Red, byte Green, byte Blue) d)
Parameters
d
(byte Alpha, byte Red, byte Green, byte Blue)New color value specified as tuple with four byte values.