VncSharp

Framebuffer Members

Framebuffer overview

Public Static (Shared) Methods

FromPixelFormat Given a 16-byte PIXEL_FORMAT record from the VNC Host, deserialize this into a Framebuffer object.

Public Instance Constructors

Framebuffer ConstructorInitializes a new instance of the Framebuffer class.

Public Instance Properties

BigEndian Indicates whether the remote host uses Big- or Little-Endian order when sending multi-byte values.
BitsPerPixel The number of Bits Per Pixel for the Framebuffer--one of 8, 24, or 32.
BlueMax The maximum value for Blue in a pixel's colour value.
BlueShift The number of bits to shift pixel values in order to obtain Blue values.
Depth The Colour Depth of the Framebuffer.
DesktopName The name of the remote destkop, if any. Must be non-null.
GreenMax The maximum value for Green in a pixel's colour value.
GreenShift The number of bits to shift pixel values in order to obtain Green values.
Height The Height of the Framebuffer, measured in Pixels.
Rectangle Gets a Rectangle object constructed out of the Width and Height for the Framebuffer. Used as a convenience in other classes.
RedMax The maximum value for Red in a pixel's colour value.
RedShift The number of bits to shift pixel values in order to obtain Red values.
TrueColour Indicates whether the remote host supports True Colour.
Width The Width of the Framebuffer, measured in Pixels.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToPixelFormat When communicating with the VNC Server, bytes are used to represent many of the values above. However, internally it is easier to use Integers. This method provides a translation between the two worlds.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Framebuffer Class | VncSharp Namespace