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