Example #1
0
        public override Object Clone()
        {
            FrameRecord rec = new FrameRecord();

            rec.field_1_borderType = field_1_borderType;
            rec.field_2_options    = field_2_options;
            return(rec);
        }
Example #2
0
 public FrameAggregate(RecordStream rs, ChartRecordAggregate container)
     : base(RuleName_FRAME, container)
 {
     frame = (FrameRecord)rs.GetNext();
     rs.GetNext();//BeginRecord
     lineFormat = (LineFormatRecord)rs.GetNext();
     areaFormat = (AreaFormatRecord)rs.GetNext();
     if (rs.PeekNextChartSid() == GelFrameRecord.sid)
     {
         gelFrame = new GelFrameAggregate(rs, this);
     }
     
     if (rs.PeekNextChartSid() == ShapePropsStreamRecord.sid)
     {
         shapeProps = new ShapePropsAggregate(rs, this);
     }
     
     Record r = rs.GetNext();//EndRecord
     Debug.Assert(r.GetType() == typeof(EndRecord));
 }
Example #3
0
        public override Object Clone()
        {
            FrameRecord rec = new FrameRecord();

            rec.field_1_borderType = field_1_borderType;
            rec.field_2_options = field_2_options;
            return rec;
        }