[]
        
(Showing Draft Content)

C1.Win.Bitmap.PaletteColor.-ctor

PaletteColor Constructor

PaletteColor(uint)

Initializes a new instance of the PaletteColor struct.

Declaration
[CLSCompliant(false)]
public PaletteColor(uint argb)
Parameters
Type Name Description
uint argb

A packed unsigned integer containing all four color components in 32bppBGRA format.

PaletteColor(int, int, int, int)

Initializes a new instance of the PaletteColor struct.

Declaration
public PaletteColor(int red, int green, int blue, int alpha = 255)
Parameters
Type Name Description
int red

The red component of the color.

int green

The green component of the color.

int blue

The blue component of the color.

int alpha

The alpha component of the color.

PaletteColor(ColorF)

Initializes a new instance of the PaletteColor struct.

Declaration
public PaletteColor(ColorF value)
Parameters
Type Name Description
ColorF value

The source C1.Util.DX.ColorF.

PaletteColor(Color)

Initializes a new instance of the PaletteColor struct.

Declaration
public PaletteColor(Color color)
Parameters
Type Name Description
Color color

The System.Drawing.Color value.