1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39:25 +02:00
OpenSTF/lib/units/device/plugins/vnc/util/pixelformat.js
2015-09-14 13:18:32 +09:00

14 lines
425 B
JavaScript

function PixelFormat(values) {
this.bitsPerPixel = values.bitsPerPixel
this.depth = values.depth
this.bigEndianFlag = values.bigEndianFlag
this.trueColorFlag = values.trueColorFlag
this.redMax = values.redMax
this.greenMax = values.greenMax
this.blueMax = values.blueMax
this.redShift = values.redShift
this.greenShift = values.greenShift
this.blueShift = values.blueShift
}
module.exports = PixelFormat