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