public void serialize(LittleEndianOutput out) {out.writeInt(getXPosition());out.writeInt(getYPosition());out.writeInt(getWidth());out.writeInt(getHeight());out.writeShort(field5_grbit);out.writeShort(field6_unknown);}

public override void Serialize(ILittleEndianOutput out1){out1.WriteInt(XPosition);out1.WriteInt(YPosition);out1.WriteInt(Width);out1.WriteInt(Height);out1.WriteShort(field5_grbit);out1.WriteShort(field6_icrt);}
