Table of Contents

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(ColorBgr24)

public static explicit operator SrgbColor(ColorBgr24 color)

Parameters

color ColorBgr24

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(ColorRgb48)

public static explicit operator SrgbColor(ColorRgb48 color)

Parameters

color ColorRgb48

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