public virtual void Parse( Stream input, TagTypes caller )
{
BitStream bits = new BitStream( input );
GradRecord temp = new GradRecord(this._SwfVersion);
this._spreadMode = ( SpreadMode )bits.GetBits( 2 );
this._interpolationMode = ( InterPolation )bits.GetBits( 2 );
this._numGradients = ( byte )bits.GetBits( 4 );
bits.Reset();
for ( int i = 0; i < this._numGradients; i++ )
{
temp = new GradRecord( this._SwfVersion );
temp.Parse( input, caller );
this._gradientRecords.Add( temp );
}
}