[]
Initializes a new instance of the PaletteColor struct.
public PaletteColor(uint argb)
Public Sub New(argb As UInteger)
Type | Name | Description |
---|---|---|
uint | argb | A packed unsigned integer containing all four color components in 32bppBGRA format. |
Initializes a new instance of the PaletteColor struct.
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)
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. |
Initializes a new instance of the PaletteColor struct.
public PaletteColor(ColorF value)
Public Sub New(value As ColorF)
Type | Name | Description |
---|---|---|
ColorF | value | The source C1.Util.DX.ColorF. |
Initializes a new instance of the PaletteColor struct.
public PaletteColor(Color color)
Public Sub New(color As Color)
Type | Name | Description |
---|---|---|
Color | color | The System.Drawing.Color value. |