fix fillOpacity with gradients

This commit is contained in:
Horcrux
2016-07-21 19:11:36 +08:00
parent 16a1f89bf6
commit 63f793c54e
7 changed files with 39 additions and 23 deletions
+1 -1
View File
@@ -59,7 +59,7 @@
CGContextAddPath(context, self.d);
CGContextClip(context);
RNSVGBrushConverter *brushConverter = [[self getSvgView] getDefinedBrushConverter:[self.fill brushRef]];
[self.fill paint:context opacity:self.strokeOpacity brushConverter:brushConverter];
[self.fill paint:context opacity:self.fillOpacity brushConverter:brushConverter];
CGContextRestoreGState(context);
if (!self.stroke) {
return;