object IFillStyleRGBVisitor <ISwfStreamWriter, object> .Visit(LinearGradientFillStyleRGB fillStyle, ISwfStreamWriter writer) { writer.WriteMatrix(ref fillStyle.GradientMatrix); writer.WriteGradientRGB(fillStyle.Gradient); return(null); }
public FillStyleRGB Visit(LinearGradientFillStyleRGB fillStyle, ISwfStreamReader reader) { fillStyle.GradientMatrix = reader.ReadMatrix(); fillStyle.Gradient = reader.ReadGradientRGB(); return(fillStyle); }