You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Generated createGradientPattern in CanvasGraphics.js expects strings for GradientType and SpreadMethod. The types from SWF are sent as Int
Programatically generated graphic gradients are rendered correctly, but not from SWF
Load a SWF with shapes having linear and radial gradients and Spread methods for Pad, Reflect and Repeat.
Programatically create shapes with linear and radial gradients and Spread methods for Pad, Reflect and Repeat;
Verify the loaded SWF has missing gradients and programmatic ones do not.
Expected behavior
Linear and Radial gradients should be drawn by their requested type.
Pad, Reflect and Repeat spread method should be drawn by it's type.
Screenshots
If applicable, add screenshots to help explain your problem.
Labeled boxes are from the SWF and missing gradient fills. The others are programmatic.
Describe the bug
The Generated createGradientPattern in CanvasGraphics.js expects strings for GradientType and SpreadMethod. The types from SWF are sent as Int
Programatically generated graphic gradients are rendered correctly, but not from SWF
openfl-js/lib/_gen/openfl/display/_internal/CanvasGraphics.js
To Reproduce
Expected behavior
Linear and Radial gradients should be drawn by their requested type.
Pad, Reflect and Repeat spread method should be drawn by it's type.
Screenshots

If applicable, add screenshots to help explain your problem.
Labeled boxes are from the SWF and missing gradient fills. The others are programmatic.
OpenFL Targets
Open-JS HTML5 target only
Additional context
Test Application with FLA
OpenFL_Webpack.zip
The text was updated successfully, but these errors were encountered: