Table of Contents

Class BitmapImageWs2808Grb

Namespace
Iot.Device.Ws28xx.Esp32
Assembly
Iot.Device.Ws28xx.Esp32.dll

BitmapImage Ws2808 GRB.

public class BitmapImageWs2808Grb : BitmapImage
Inheritance
BitmapImageWs2808Grb
Inherited Members

Constructors

BitmapImageWs2808Grb(int, int)

Initializes a new instance of the BitmapImageWs2808Grb class.

public BitmapImageWs2808Grb(int width, int height)

Parameters

width int

Width of the image.

height int

Height of the image.

Methods

Clear()

Clears whole image.

public override void Clear()

Clear(int, int)

Clears selected pixel.

public override void Clear(int x, int y)

Parameters

x int

X pixel.

y int

Y pixel.

SetPixel(int, int, byte, byte, byte)

Sets pixel at specific position.

public override void SetPixel(int x, int y, byte r, byte g, byte b)

Parameters

x int

X coordinate of the pixel.

y int

Y coordinate of the pixel.

r byte

Red color.

g byte

Green color.

b byte

Blue color.

SetPixel(int, int, Color)

Sets pixel at specific position.

public override void SetPixel(int x, int y, Color c)

Parameters

x int

X coordinate of the pixel.

y int

Y coordinate of the pixel.

c Color