On Sep 8, 2014 8:22 AM, "Peter Ent" <p...@adobe.com> wrote: > > I'm going to see if I can use these for the graphics in the chart work > I've been doing. Might be very helpful there.
That would be awesome! Let me know how I can help. I just realized that there might be a bug in how I size the svg element. I should be able to fix that today. Thanks, Om > > Peter Ent > Adobe Systems > > On 9/8/14 3:48 AM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: > > >FlexJS now supports a basic drawing API (Rect, Ellipse, Circle, Path, > >SolidColor, SolidColorStroke) Here are the AS3 [1] and JS [2] versions > > > >So far, the rendering fidelity between the Flash and SVG/HTML5 version is > >very very close. For sure, there are some pretty major things to be > >worked > >out, but generally so far, the results have been very encouraging. > > > >You can see a quick and dirty example here: > >Flash version: http://people.apache.org/~bigosmallm/flexjs/drawing/flash/ > >HTML5 version: http://people.apache.org/~bigosmallm/flexjs/drawing/html5/ > > > >HTML5 version has been tested to work fine on Chrome, Firefox, IE11, > >Android browser and iPad Safari. > > > >Next up, i will be working on the following items: > >Polygons, Linear gradients, Radial gradients, filters and drop shadows. > >These should bring us very close to our current FXG based drawing APIs. > > > >After that, I plan on programmatically recreating a few FXG based skins in > >FlexJS and see how we can apply it skins on UI components. > > > >Feedback welcome! > > > >[1] > > https://github.com/apache/flex-asjs/tree/develop/frameworks/as/projects/Fl > >exJSUI/src/org/apache/flex/core/graphics > >[2] > > https://github.com/apache/flex-asjs/tree/develop/frameworks/js/FlexJS/src/ > >org/apache/flex/core/graphics >