public FillStyleRGBA Visit(LinearGradientFillStyleRGBA fillStyle, ISwfStreamReader reader) { fillStyle.GradientMatrix = reader.ReadMatrix(); fillStyle.Gradient = reader.ReadGradientRGBA(); return(fillStyle); }
object IFillStyleRGBAVisitor <ISwfStreamWriter, object> .Visit(LinearGradientFillStyleRGBA fillStyle, ISwfStreamWriter writer) { writer.WriteMatrix(ref fillStyle.GradientMatrix); writer.WriteGradientRGBA(fillStyle.Gradient); return(null); }