Exemplo n.º 1
0
        public static void ReadToLineStylesEx(this ISwfStreamReader reader, IList <LineStyleEx> lineStyles)
        {
            ushort cnt = reader.ReadByte();

            if (cnt == 255)
            {
                cnt = reader.ReadUInt16();
            }
            for (var i = 0; i < cnt; i++)
            {
                lineStyles.Add(reader.ReadLineStyleEx());
            }
        }