C# Класс RemoteViewing.Vnc.VncFramebuffer

Stores pixel data for a VNC session.
Наследование: IVncFramebufferSource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetBuffer ( ) : byte[]

Returns the memory underlying this framebuffer.

SetPixel ( int x, int y, byte color ) : void

Sets the color of a single pixel.

SetPixel ( int x, int y, int color ) : void

Sets the color of a single pixel.

VncFramebuffer ( string name, int width, int height, VncPixelFormat pixelFormat ) : System

Initializes a new instance of the VncFramebuffer class.

Приватные методы

Метод Описание
IVncFramebufferSource ( ) : VncFramebuffer

Описание методов

GetBuffer() публичный Метод

Returns the memory underlying this framebuffer.
public GetBuffer ( ) : byte[]
Результат byte[]

SetPixel() публичный Метод

Sets the color of a single pixel.
public SetPixel ( int x, int y, byte color ) : void
x int The X coordinate of the pixel.
y int The Y coordinate of the pixel.
color byte /// The pixel color as a byte-encoded integer. ///
Результат void

SetPixel() публичный Метод

Sets the color of a single pixel.
public SetPixel ( int x, int y, int color ) : void
x int The X coordinate of the pixel.
y int The Y coordinate of the pixel.
color int The RGB color of the pixel.
Результат void

VncFramebuffer() публичный Метод

Initializes a new instance of the VncFramebuffer class.
public VncFramebuffer ( string name, int width, int height, VncPixelFormat pixelFormat ) : System
name string The framebuffer name. Many VNC clients set their titlebar to this name.
width int The framebuffer width.
height int The framebuffer height.
pixelFormat VncPixelFormat The framebuffer pixel format.
Результат System