Operator explicit operator
- Namespace
- PaintDotNet.Imaging
- Assembly
- PaintDotNet.Primitives.dll
explicit operator SrgbColor(ColorGray8)
public static explicit operator SrgbColor(ColorGray8 color)
Parameters
color
ColorGray8
Returns
- SrgbColor
explicit operator SrgbColor(ColorGray16Half)
public static explicit operator SrgbColor(ColorGray16Half color)
Parameters
color
ColorGray16Half
Returns
- SrgbColor
explicit operator SrgbColor(ColorGray32Float)
public static explicit operator SrgbColor(ColorGray32Float color)
Parameters
color
ColorGray32Float
Returns
- SrgbColor
explicit operator SrgbColor(ColorBgr24)
public static explicit operator SrgbColor(ColorBgr24 color)
Parameters
color
ColorBgr24
Returns
- SrgbColor
explicit operator SrgbColor(ColorBgr32)
public static explicit operator SrgbColor(ColorBgr32 color)
Parameters
color
ColorBgr32
Returns
- SrgbColor
explicit operator SrgbColor(ColorBgr48)
public static explicit operator SrgbColor(ColorBgr48 color)
Parameters
color
ColorBgr48
Returns
- SrgbColor
explicit operator SrgbColor(ColorRgb24)
public static explicit operator SrgbColor(ColorRgb24 color)
Parameters
color
ColorRgb24
Returns
- SrgbColor
explicit operator SrgbColor(ColorRgb32)
public static explicit operator SrgbColor(ColorRgb32 color)
Parameters
color
ColorRgb32
Returns
- SrgbColor
explicit operator SrgbColor(ColorRgb48)
public static explicit operator SrgbColor(ColorRgb48 color)
Parameters
color
ColorRgb48
Returns
- SrgbColor
explicit operator SrgbColor(ColorRgb48Half)
public static explicit operator SrgbColor(ColorRgb48Half color)
Parameters
color
ColorRgb48Half
Returns
- SrgbColor
explicit operator SrgbColor(ColorRgb96Float)
public static explicit operator SrgbColor(ColorRgb96Float color)
Parameters
color
ColorRgb96Float
Returns
- SrgbColor
explicit operator SrgbColor(LinearColor)
public static explicit operator SrgbColor(LinearColor color)
Parameters
color
LinearColor
Returns
- SrgbColor