Method UpdatePaletteColors
UpdatePaletteColors(SelectBuf, SKColor[])
It is used to switch palette for G15 DuraSignMobile pad
Declaration
Error UpdatePaletteColors(SelectBuf buffer, SKColor[] colors)
Parameters
Type | Name | Description |
---|---|---|
SelectBuf | buffer | Selects the buffer in which to switch palette. |
SkiaSharp.SKColor[] | colors | List of 12 Colors for palette switching |
Returns
Type | Description |
---|---|
Error | Error |
Remarks
Note 1 : This Api is applicable only for g15 or DuraSignMobile pad Note 2 : SelectBuf.Both is also applicable only to g15 or DuraSignPad
Examples
C#
SKColor[] skclors = {SKColors.Blue, SKColors.Black, SKColors.White, SKColors.Orange,
SKColors.Blue, SKColors.Red, SKColors.White, SKColors.Green,
SKColors.Blue, SKColors.Red, SKColors.White, SKColors.Green};
driver.UpdatePaletteColors(SelectBuf.Both, Colors);
VB.NET
driver.UpdatePaletteColors(SelectBuf.Both, Colors);