C# 클래스 RemoteViewing.Vnc.VncFramebuffer

Stores pixel data for a VNC session.
상속: IVncFramebufferSource
파일 보기 프로젝트 열기: qmfrederik/remoteviewing 1 사용 예제들

공개 메소드들

메소드 설명
GetBuffer ( ) : byte[]

Returns the memory underlying this framebuffer.

SetPixel ( int x, int y, byte color ) : void

Sets the color of a single pixel.

SetPixel ( int x, int y, int color ) : void

Sets the color of a single pixel.

VncFramebuffer ( string name, int width, int height, VncPixelFormat pixelFormat ) : System

Initializes a new instance of the VncFramebuffer class.

비공개 메소드들

메소드 설명
IVncFramebufferSource ( ) : VncFramebuffer

메소드 상세

GetBuffer() 공개 메소드

Returns the memory underlying this framebuffer.
public GetBuffer ( ) : byte[]
리턴 byte[]

SetPixel() 공개 메소드

Sets the color of a single pixel.
public SetPixel ( int x, int y, byte color ) : void
x int The X coordinate of the pixel.
y int The Y coordinate of the pixel.
color byte /// The pixel color as a byte-encoded integer. ///
리턴 void

SetPixel() 공개 메소드

Sets the color of a single pixel.
public SetPixel ( int x, int y, int color ) : void
x int The X coordinate of the pixel.
y int The Y coordinate of the pixel.
color int The RGB color of the pixel.
리턴 void

VncFramebuffer() 공개 메소드

Initializes a new instance of the VncFramebuffer class.
public VncFramebuffer ( string name, int width, int height, VncPixelFormat pixelFormat ) : System
name string The framebuffer name. Many VNC clients set their titlebar to this name.
width int The framebuffer width.
height int The framebuffer height.
pixelFormat VncPixelFormat The framebuffer pixel format.
리턴 System