/// <summary> /// /// </summary> /// <param name="input"></param> /// <param name="caller"></param> public override void Parse( Stream input, TagTypes caller ) { BitStream bits = new BitStream( input ); this._spreadMode = ( SpreadMode )bits.GetBits( 2 ); this._interpolationMode = ( InterPolation )bits.GetBits( 2 ); this._numGradients = ( byte )bits.GetBits( 4 ); bits.Reset(); GradRecord temp = new GradRecord(this._SwfVersion); for ( int i = 0; i < _numGradients; i++ ) { temp = new GradRecord( this._SwfVersion ); temp.Parse( input, caller ); this._gradientRecords.Add(temp); } bits.GetBitsFB( 16, out this._focalPoint ); }