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