VncSharpWpf.Framebuffer.Framebuffer C# (CSharp) Method

Framebuffer() public method

Creates a new Framebuffer with (width x height) pixels.
public Framebuffer ( int width, int height ) : System
width int The width in pixels of the remote desktop.
height int The height in pixels of the remote desktop.
return System
		public Framebuffer(int width, int height)
		{
			this.width = width;
			this.height = height;
			
			// Cache the total size of the pixel array and initialize
			pixelCount = width * height;
			pixels = new int[pixelCount];
		}