Initializes a new instance of the VncPixelFormat class.
Namespace: RemoteViewing.Vnc
Assembly: RemoteViewing (in RemoteViewing.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public VncPixelFormat( int bitsPerPixel, int bitDepth, int redBits, int redShift, int greenBits, int greenShift, int blueBits, int blueShift, bool isLittleEndian = true, bool isPalettized = false )
Parameters
- bitsPerPixel
- Type: SystemInt32
The number of bits used to store a pixel. Currently, this must be 8, 16, or 32. - bitDepth
- Type: SystemInt32
The bit depth of the pixel. Currently, this must be 8, 16, 24, or 32. - redBits
- Type: SystemInt32
The number of bits used to represent red. - redShift
- Type: SystemInt32
The number of bits left the red value is shifted. - greenBits
- Type: SystemInt32
The number of bits used to represent green. - greenShift
- Type: SystemInt32
The number of bits left the green value is shifted. - blueBits
- Type: SystemInt32
The number of bits used to represent blue. - blueShift
- Type: SystemInt32
The number of bits left the blue value is shifted. - isLittleEndian (Optional)
- Type: SystemBoolean
true if the pixel is little-endian, or false if it is big-endian. - isPalettized (Optional)
- Type: SystemBoolean
true if the framebuffer stores palette indices, or false if it stores colors.
See Also