gavioto / playn

Automatically exported from code.google.com/p/playn
0 stars 0 forks source link

Android platoform: Canvas.setFillColor() doesn't replace Canvas.setFillGradient() #235

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Canvas.setFillGradient(LinearGradient)
2. Canvas.setFillColor(int)
3. fill color ignored, gradient fill kept intact

What is the expected output? What do you see instead?
Canvas.setFillColor() should replace any previously set 
gradient fill settings.

What version of the product are you using? On what operating system?
playn 1.7, windows

Please provide any additional information below.
Issue related to Android platform other platforms HTML,Java not affected.

Original issue reported on code.google.com by luke.be...@gmail.com on 21 May 2013 at 7:52

GoogleCodeExporter commented 9 years ago
While trying to wrap the affected canvas calls with save/restore the 
issue seems to no only withstand that but even get worse ... investigating

Original comment by luke.be...@gmail.com on 21 May 2013 at 8:20