private ReadMorphFillStyleArray ( SWFDataTypeReader shapeReader ) : SWFProcessing.SWFModeller.Characters.Shapes.Parts.MorphFillStyle[] | ||
shapeReader | SWFDataTypeReader | |
return | SWFProcessing.SWFModeller.Characters.Shapes.Parts.MorphFillStyle[] |
private MorphFillStyle[] ReadMorphFillStyleArray(SWFDataTypeReader shapeReader)
{
int fillCount = shapeReader.ReadUI8();
if (fillCount == 0xFF)
{
fillCount = shapeReader.ReadUI16();
}
MorphFillStyle[] fillStyles = new MorphFillStyle[fillCount];
for (int i = 0; i < fillCount; i++)
{
fillStyles[i] = this.ReadMorphFillStyle(shapeReader);
}
return fillStyles;
}