Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.5, 5.10.1, 5.11.0 Beta 4
-
Windows 10
-
be4c4877b35ad1b6983cf194e61f0dad1d123af5
Description
Steps to reproduce:
- run the sample attached
- observe the radial gradient from white to green
EXPECTED: white center (radius: from 0 to 50), gradient from white to green (radius: from 50 to 100), green when radius > 100. (See 'Expected_Gradient.png')
ACTUAL: continuous gradient from the center point outward. (See 'Actual_Gradient.png')
The sample uses the code snippet found here: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createRadialGradient