[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.PaletteColor.-ctor

PaletteColor Constructor

PaletteColor(uint)

Initializes a new instance of the PaletteColor struct.

Declaration
public PaletteColor(uint argb)
Public Sub New(argb As UInteger)
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)
Public Sub New(red As Integer, green As Integer, blue As Integer, Optional alpha As Integer = 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)
Public Sub New(value As ColorF)
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)
Public Sub New(color As Color)
Parameters
Type Name Description
Color color

The System.Drawing.Color value.