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