private ReadMorphGradient ( SWFDataTypeReader shapeReader ) : |
||
shapeReader | SWFDataTypeReader | |
return |
private MorphGradient ReadMorphGradient(SWFDataTypeReader shapeReader)
{
int numGrads = shapeReader.ReadUI8();
MorphGradient mg = new MorphGradient()
{
Records = new MorphGradientRecord[numGrads]
};
for (int i = 0; i < numGrads; i++)
{
mg.Records[i] = this.ReadMorphGradientRecord(shapeReader);
}
return mg;
}