VncSharp

EncodedRectangleFactory Constructor 

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

[Visual Basic]
Public Sub New( _
   ByVal rfb As RfbProtocol, _
   ByVal framebuffer As Framebuffer _
)
[C#]
public EncodedRectangleFactory(
   RfbProtocol rfb,
   Framebuffer framebuffer
);

Parameters

rfb
An RfbProtocol object that will be passed to any created EncodedRectangle objects. Must be non-null, already initialized, and connected.
framebuffer
A Framebuffer object which will be used by any created EncodedRectangle objects in order to decode and draw rectangles locally.

See Also

EncodedRectangleFactory Class | VncSharp Namespace