Commit Graph

12 Commits

Author SHA1 Message Date
Mikael Sand
28235ea137 Run Prettier, configure ESLint. 2018-03-19 04:07:47 +02:00
James Ide
f9e774e03d Handle color parsing when alpha = 1 (#512)
The `color` library doesn't include alpha when accessing `color.rgb().array()` when the alpha value is 1. Since we always use the alpha value, make it default to 1 when parsing a color.
2017-11-23 13:47:01 -08:00
James Ide
235e132baf Update "color" dep to 2.x to fix RN minifier bug
There's a bug with the version of UglifyJS that RN/Metro uses which causes an error about "e.length" inside of "color" that was fixed in 2.x. One change to "color" is that `rgbaArray()` was removed and now the call is `rgb().array()`.
2017-11-09 12:28:13 -08:00
Mikael Sand
1a9a051ee9 Fix linting, warnings, add noinspection suppression comments. 2017-07-24 00:08:28 +03:00
Horcrux
5bd9b40c17 refactor Components props extracting 2017-02-03 19:43:25 +08:00
Horcrux
7d09dcde29 fix lint warnings 2016-07-27 12:10:12 +08:00
Horcrux
7e13b801e1 refactor text render
Support G inherit props.
Refactor text render. Text glyphs will perfectly draw along the path
2016-07-22 23:49:15 +08:00
Horcrux
ff2395bcc2 finish gradients refactor 2016-07-20 22:38:45 +08:00
Horcrux
be8c273adf Add eslint 2016-05-04 11:24:13 +08:00
Horcrux
902bdcb1d0 fix text context and complete gradient js code 2016-04-26 22:08:54 +08:00
Horcrux
74b5e82781 support stroke in pattern.
support stroke="url(#pattern)"
2016-04-22 19:04:07 +08:00
Horcrux
fa1aea094a add clipping js code 2016-04-21 15:44:25 +08:00