C# 클래스 VncSharpWpf.EncodedRectangleFactory

Factory class used to create derived EncodedRectangle objects at runtime based on data sent by VNC Server.
파일 보기 프로젝트 열기: nakano531/VncSharpWpf 1 사용 예제들

공개 메소드들

메소드 설명
Build ( Rectangle rectangle, int encoding ) : EncodedRectangle

Creates an object type derived from EncodedRectangle, based on the value of encoding.

EncodedRectangleFactory ( RfbProtocol rfb, Framebuffer framebuffer ) : System

Creates an instance of the EncodedRectangleFactory using the connected RfbProtocol object and associated Framebuffer object.

메소드 상세

Build() 공개 메소드

Creates an object type derived from EncodedRectangle, based on the value of encoding.
public Build ( Rectangle rectangle, int encoding ) : EncodedRectangle
rectangle System.Drawing.Rectangle A Rectangle object defining the bounds of the rectangle to be created
encoding int An Integer indicating the encoding type to be used for this rectangle. Used to determine the type of EncodedRectangle to create.
리턴 VncSharpWpf.Encodings.EncodedRectangle

EncodedRectangleFactory() 공개 메소드

Creates an instance of the EncodedRectangleFactory using the connected RfbProtocol object and associated Framebuffer object.
public EncodedRectangleFactory ( RfbProtocol rfb, Framebuffer framebuffer ) : System
rfb RfbProtocol An RfbProtocol object that will be passed to any created EncodedRectangle objects. Must be non-null, already initialized, and connected.
framebuffer Framebuffer A Framebuffer object which will be used by any created EncodedRectangle objects in order to decode and draw rectangles locally.
리턴 System