Table of Contents

Class BitmapImageWs2808

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

BitmapImage Ws2808.

public class BitmapImageWs2808 : BitmapImage
Inheritance
BitmapImageWs2808
Inherited Members

Constructors

BitmapImageWs2808(int, int)

Initializes a new instance of the BitmapImageWs2808 class.

public BitmapImageWs2808(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