[]
Creates a PaletteEntry with given values for the color channels.
public PaletteEntry(int r, int g, int b)
Public Sub New(r As Integer, g As Integer, b As Integer)
Type | Name | Description |
---|---|---|
int | r | The Red channel value (0..65535). |
int | g | The Green channel value (0..65535). |
int | b | The Blue channel value (0..65535). |
Creates a PaletteEntry with given (premultiplied by alpha) values for the color channels.
public PaletteEntry(int r, int g, int b, int a)
Public Sub New(r As Integer, g As Integer, b As Integer, a As Integer)
Type | Name | Description |
---|---|---|
int | r | The Red channel value (0..65535), premultiplied by the associated alpha component. |
int | g | The Green channel value (0..65535), premultiplied by the associated alpha component. |
int | b | The Blue channel value (0..65535), premultiplied by the associated alpha component. |
int | a | The Alpha channel value (0..65535). |