A graphics api for AS and JS already exists in FlexJS: https://github.com/apache/flex-asjs/tree/develop/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics
You might want to start from there. Thanks, Om On Mon, Nov 30, 2015 at 1:54 AM, lizhi <s...@qq.com> wrote: > > https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/display/Graphics.as > > > https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/display/GraphicsPath.as > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/working-on-a-lib-of-graphics-api-flexjs-tp50350.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. >