internal override void ReadCommonDataStart(BitReader reader) { Handle = reader.Read_H(); var xDataSize = reader.Read_BS(); _xData = reader.Read_Bytes(xDataSize); _isGraphicPresent = reader.Read_B(); if (_isGraphicPresent) { var graphicsSize = reader.Read_RL(); _graphicsData = reader.Read_Bytes(graphicsSize); } _objectSize = reader.Read_RL(); _entityMode = reader.Read_BB(); _reactorCount = reader.Read_BL(); _isLineTypeByLayer = reader.Read_B(); _noLinks = reader.Read_B(); Color = DwgColor.FromRawValue(reader.Read_BS()); LineTypeScale = reader.Read_BD(); _invisibility = reader.Read_BS(); }
internal override void ParseSpecific(BitReader reader, DwgVersionId version) { Name = reader.Read_T(); Description = reader.Read_T(); Flags = reader.Read_BS(); FillColor = DwgColor.FromRawValue(reader.Read_BS()); StartAngle = reader.Read_BD(); EndAngle = reader.Read_BD(); _lineStyleCount = reader.Read_RC(); for (int i = 0; i < _lineStyleCount; i++) { _lineStyleOffsets.Add(reader.Read_BD()); _lineStyleColors.Add(reader.Read_BS()); _lineStyleLineTypeIndicies.Add(reader.Read_BS()); } _parentHandle = reader.Read_H(); for (int i = 0; i < _reactorCount; i++) { _reactorHandles.Add(reader.Read_H()); } _xDictionaryObjectHandle = reader.Read_H(); }