From 99ab08db25fa6945ef4e56cd9f37f03594e43a7a Mon Sep 17 00:00:00 2001 From: Horcrux Date: Wed, 27 Apr 2016 16:45:58 +0800 Subject: [PATCH] change circle radius percentage calculation Change circle radius percentage calculation. Add example for percentage props for shape. Remove unused document ref --- Example/examples/Circle.js | 8 ++++---- Example/examples/Ellipse.js | 8 ++++---- Example/examples/Line.js | 8 ++++---- Example/examples/Rect.js | 8 ++++---- README.md | 2 -- .../com/horcrux/svg/RNSVGShapeShadowNode.java | 16 ++++++++++++++-- ios/RNSVGShape.m | 15 ++++++++++++++- lib/percentToFloat.js | 5 +++++ 8 files changed, 49 insertions(+), 21 deletions(-) diff --git a/Example/examples/Circle.js b/Example/examples/Circle.js index 25fc8600..0de66801 100644 --- a/Example/examples/Circle.js +++ b/Example/examples/Circle.js @@ -11,12 +11,12 @@ class CircleExample extends Component{ render() { return ; diff --git a/Example/examples/Ellipse.js b/Example/examples/Ellipse.js index 37e0e4a8..315f3647 100644 --- a/Example/examples/Ellipse.js +++ b/Example/examples/Ellipse.js @@ -14,10 +14,10 @@ class EllipseExample extends Component{ width="110" > diff --git a/Example/examples/Rect.js b/Example/examples/Rect.js index f732e448..59638686 100644 --- a/Example/examples/Rect.js +++ b/Example/examples/Rect.js @@ -14,10 +14,10 @@ class RectExample extends Component{ height="60" >