C# 클래스 VncSharpWpf.Encodings.EncodedRectangle

Abstract class representing an Encoded Rectangle to be read, decoded, and drawn.
상속: IDesktopUpdater
파일 보기 프로젝트 열기: nakano531/VncSharpWpf

보호된 프로퍼티들

프로퍼티 타입 설명
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