Table of Contents

Method BgraToUInt32

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

BgraToUInt32(byte, byte, byte, byte)

Packs color and alpha values into a 32-bit integer.

public static uint BgraToUInt32(byte b, byte g, byte r, byte a)

Parameters

b byte
g byte
r byte
a byte

Returns

uint

BgraToUInt32(int, int, int, int)

Packs color and alpha values into a 32-bit integer.

public static uint BgraToUInt32(int b, int g, int r, int a)

Parameters

b int
g int
r int
a int

Returns

uint