Open GoogleCodeExporter opened 9 years ago
There are multiple gradient issues:
- Alpha does not work in either linear or radial gradients when used in an
addColorStop, e.g., you cannot fade from opaque black to transparent.
- Linear gradients do not display in the correct direction, e.g.,
horizontal gradients do not work.
- Radial gradients do not appear to actually be radial, and are basically
useless in their current state.
Original comment by erik.arv...@gmail.com
on 22 Mar 2009 at 12:44
Regarding the direction issue, I've discovered that VML seems to treat the
angle as
though the area being filled were square. For example, 45° will always go from
bottom left to top right, regardless of the aspect ratio. What I haven't
figured out
is how to convert the given dx and dy into this angle. My trigonometry is way
too
rusty. :(
Original comment by JerseyChewi@gmail.com
on 2 Feb 2010 at 11:40
I noticed that this project is some what stagnated, but it would be gread if
the gradients worked.
I'm using excanvas for some of my projects and gradients is the eye candy that
i'm lokking for.
Is there still activity?
Original comment by onhar...@dds.nl
on 24 Aug 2010 at 8:29
I never managed to figure it out but luckily I only needed to go from bottom
left to top right.
Original comment by JerseyChewi@gmail.com
on 24 Aug 2010 at 8:36
Don't know will this help, but example working with ie8
http://sample.revulo.com/VML/radial-gradient-clip.html
Original comment by firatsar...@gmail.com
on 17 Jun 2011 at 10:00
i am currently trying figuring out a way to enable LinearGradients with the
proprietary addBehavior method for IE. i hope it works...
Original comment by isocr...@gmail.com
on 6 Jun 2012 at 3:42
Original issue reported on code.google.com by
erik.arv...@gmail.com
on 22 Mar 2009 at 12:43