private MorphGradientRecord ReadMorphGradientRecord(SWFDataTypeReader shapeReader) { MorphGradientRecord mgr = new MorphGradientRecord(); mgr.StartRatio = shapeReader.ReadUI8(); mgr.StartColour = shapeReader.ReadRGBA(); mgr.EndRatio = shapeReader.ReadUI8(); mgr.EndColour = shapeReader.ReadRGBA(); return(mgr); }
private MorphGradientRecord ReadMorphGradientRecord(SWFDataTypeReader shapeReader) { MorphGradientRecord mgr = new MorphGradientRecord(); mgr.StartRatio = shapeReader.ReadUI8(); mgr.StartColour = shapeReader.ReadRGBA(); mgr.EndRatio = shapeReader.ReadUI8(); mgr.EndColour = shapeReader.ReadRGBA(); return mgr; }