Table of Contents

Operator explicit operator

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

explicit operator uint(ColorBgra)

Casts a ColorBgra to a UInt32.

public static explicit operator uint(ColorBgra color)

Parameters

color ColorBgra

Returns

uint

explicit operator ColorBgra(uint)

Casts a UInt32 to a ColorBgra.

public static explicit operator ColorBgra(uint uint32)

Parameters

uint32 uint

Returns

ColorBgra

explicit operator ColorBgra(ColorBgr32)

public static explicit operator ColorBgra(ColorBgr32 c)

Parameters

c ColorBgr32

Returns

ColorBgra

explicit operator ColorBgra(ColorRgb32)

public static explicit operator ColorBgra(ColorRgb32 c)

Parameters

c ColorRgb32

Returns

ColorBgra

explicit operator SrgbColorA(ColorBgra)

public static explicit operator SrgbColorA(ColorBgra c)

Parameters

c ColorBgra

Returns

SrgbColorA