예제 #1
0
        public ArrayList ReadLineStyleArray(bool bWithAlpha, bool bExtended, bool morph, bool bHasX)
        {
            ArrayList styles = new ArrayList();

            this.JumpToNextByteStart();
            int nLineStyleCount = this.ReadByte();

            if (nLineStyleCount == 255 && bExtended)
            {
                nLineStyleCount = this.ReadUInt16();
            }

            for (int i = 0; i < nLineStyleCount; i++)
            {
                Style.LineStyle style = new Style.LineStyle(this, bWithAlpha, morph, bHasX);                 //(Flash.Tags)this.TagCode);
                styles.Add(style);
            }
            return(styles);
        }
예제 #2
0
        public ArrayList ReadLineStyleArray(bool bWithAlpha, bool bExtended, bool morph, bool bHasX)
        {
            ArrayList styles = new ArrayList();

            this.JumpToNextByteStart();
            int nLineStyleCount = this.ReadByte();
            if (nLineStyleCount == 255 && bExtended)
                nLineStyleCount = this.ReadUInt16();

            for (int i = 0; i < nLineStyleCount; i++)
            {
                Style.LineStyle style = new Style.LineStyle(this, bWithAlpha, morph, bHasX); //(Flash.Tags)this.TagCode);
                styles.Add(style);
            }
            return styles;
        }