Bitmap export of buggy gradient records fixed (now same as in flash)

This commit is contained in:
honfika@gmail.com
2017-04-01 14:51:08 +02:00
parent 29f5c17767
commit f847e384d2

View File

@@ -250,7 +250,11 @@ public class BitmapExporter extends ShapeExporterBase {
linearGradientColorWarnignShown = true;
}
fillPaint = null;
if (colorsArr.length == 1) {
fillPaint = colorsArr[0];
} else {
fillPaint = null;
}
}
fillTransform = matrix.toTransform();