Edit

Share via


RawPixelContainer(Byte[], Int32, Int32, Int32) Constructor

Definition

Constructs a container with the given values

protected RawPixelContainer (byte[] data, int width, int height, int stride);
new Iot.Device.Ws28xx.RawPixelContainer : byte[] * int * int * int -> Iot.Device.Ws28xx.RawPixelContainer
Protected Sub New (data As Byte(), width As Integer, height As Integer, stride As Integer)

Parameters

data
Byte[]

The data array. Should be of size width * height * bytesPerPixel

width
Int32

Width of the image, in pixels

height
Int32

Height of the image, in pixels

stride
Int32

Image width * bytes per pixel (number of bytes per image scanline)

Applies to