art
art copied to clipboard
Retained mode vector drawing API designed for multiple output modes. There's also a built-in SVG parser.
convert something like this `-.3-.575` to `-.3,-.575` Example ``` ```
Keep commands in an array instead of using closure.
Hi! I'm using this package via react-art. This PR adds support for modern browser colors directly on the core color module instead of via svg parse. It also adds a...
not sure about code for svg shadow is right. and the svg shadow color is not set. need some advise.
The additional parentheses eliminate SyntaxErrors similar to Appendix A that surface when running the default React Native iOS app with Node v5.1. Appendix A 
Fix for reactjs/react-art#66
When using react-art it's hard to understand how text is supposed to work, especially considering that ``` jsx Hello World! ``` renders in SVG mode but not in canvas mode....
Because JSDom creates fake HTMLCanvasElement and adds dummy getContext method the feature detection should check the result of getContext("2d") method instead
When using this with react-native, I kept getting 'Cannot access property 'hex' of undefined' and it turns out that `this` is undefined. A simple guard check helped it load correctly.