Operator implicit operator
- Namespace
- Alternet.Drawing
- Assembly
- Alternet.UI.Common.dll
implicit operator RGBValue((byte Red, byte Green, byte Blue))
Implicit operator convertion from tuple with three byte values
to RGBValue.
public static implicit operator RGBValue((byte Red, byte Green, byte Blue) d)
Parameters
d
(byte Red, byte Green, byte Blue)
New RGBValue.
Returns
- RGBValue
implicit operator RGBValue(SKColor)
public static implicit operator RGBValue(SKColor color)
Parameters
color
SKColor
Returns
- RGBValue
implicit operator SKColor(RGBValue)
public static implicit operator SKColor(RGBValue color)
Parameters
color
RGBValue
Returns
- SKColor
implicit operator RGBValue(HSVValue)
public static implicit operator RGBValue(HSVValue d)
Parameters
d
HSVValue
New RGBValue.
Returns
- RGBValue
implicit operator HSVValue(RGBValue)
public static implicit operator HSVValue(RGBValue d)
Parameters
d
RGBValue
New HSVValue.
Returns
- HSVValue