* Writer function
*/
public MfRecord getRecord()
{
final MfRecord record = new MfRecord(0);
record.setParam(0, 0);
record.setParam(1, 6);
record.setParam(2, 0x1234);
record.setParam(3, 0);
record.setParam(4, 0); // Length
record.setParam(5, 0); // Bands
record.setParam(6, 0); // Max-Bands
record.setParam(7, regionX);
record.setParam(8, regionY);
record.setParam(9, regionX + regionWidth);
record.setParam(10, regionY + regionHeight);
// some more data ... a array of rectangles (16bit x 4)
// which makes up the defined region
// the rectangles are sorted and seem to be packed in some way
// todo: Not complete ..