C# Класс VncSharpWpf.Encodings.EncodedRectangle

Abstract class representing an Encoded Rectangle to be read, decoded, and drawn.
Наследование: IDesktopUpdater
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
framebuffer Framebuffer
preader PixelReader
rectangle System.Drawing.Rectangle
rfb RfbProtocol

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

Метод Описание
Decode ( ) : void

Obtain all necessary information from VNC Host (i.e., read) in order to Draw the rectangle, and store in colours[].

Draw ( System.Windows.Media.Imaging.WriteableBitmap desktop ) : void

After calling Decode() an EncodedRectangle can be drawn to a Bitmap, which is the local representation of the remote desktop.

EncodedRectangle ( RfbProtocol rfb, Framebuffer framebuffer, Rectangle rectangle, int encoding ) : System

Защищенные методы

Метод Описание
FillRectangle ( Rectangle rect ) : void

Fills the given Rectangle with pixel values read from the server (i.e., each pixel may have its own value).

FillRectangle ( Rectangle rect, int colour ) : void

Fills the given Rectangle with a solid colour (i.e., all pixels will have the same value--colour).

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

Decode() публичный абстрактный Метод

Obtain all necessary information from VNC Host (i.e., read) in order to Draw the rectangle, and store in colours[].
public abstract Decode ( ) : void
Результат void

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

After calling Decode() an EncodedRectangle can be drawn to a Bitmap, which is the local representation of the remote desktop.
public Draw ( System.Windows.Media.Imaging.WriteableBitmap desktop ) : void
desktop System.Windows.Media.Imaging.WriteableBitmap The image the represents the remote desktop. NOTE: this image will be altered.
Результат void

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

public EncodedRectangle ( RfbProtocol rfb, Framebuffer framebuffer, Rectangle rectangle, int encoding ) : System
rfb RfbProtocol
framebuffer Framebuffer
rectangle System.Drawing.Rectangle
encoding int
Результат System

FillRectangle() защищенный Метод

Fills the given Rectangle with pixel values read from the server (i.e., each pixel may have its own value).
protected FillRectangle ( Rectangle rect ) : void
rect System.Drawing.Rectangle The rectangle to be filled.
Результат void

FillRectangle() защищенный Метод

Fills the given Rectangle with a solid colour (i.e., all pixels will have the same value--colour).
protected FillRectangle ( Rectangle rect, int colour ) : void
rect System.Drawing.Rectangle The rectangle to be filled.
colour int The colour to use when filling the rectangle.
Результат void

Описание свойств

framebuffer защищенное свойство

protected Framebuffer framebuffer
Результат Framebuffer

preader защищенное свойство

protected PixelReader,VncSharpWpf.Encodings preader
Результат PixelReader

rectangle защищенное свойство

protected Rectangle,System.Drawing rectangle
Результат System.Drawing.Rectangle

rfb защищенное свойство

protected RfbProtocol rfb
Результат RfbProtocol