Make shadow in drawShadow test much more prominent

Change-Id: Iea50f4fb6cdd611ceeb77e5ab1dfe6e703ca201d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293681
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Nathaniel Nifong <nifong@google.com>
This commit is contained in:
Nathaniel Nifong 2020-06-03 10:00:12 -04:00 committed by Skia Commit-Bot
parent a5fc154260
commit ed827bcf91

View File

@ -644,14 +644,14 @@ describe('Core canvas behavior', () => {
});
gm('draw shadow', (canvas) => {
const lightRadius = 30;
const lightRadius = 20;
const flags = 0;
const lightPos = [250,150,300];
const lightPos = [500,500,20];
const zPlaneParams = [0,0,1];
const path = starPath(CanvasKit);
canvas.drawShadow(path, zPlaneParams, lightPos, lightRadius,
CanvasKit.RED, CanvasKit.MAGENTA, flags);
CanvasKit.BLACK, CanvasKit.MAGENTA, flags);
})
describe('ColorSpace Support', () => {