mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-19 13:35:11 +00:00
change circle radius percentage calculation
Change circle radius percentage calculation. Add example for percentage props for shape. Remove unused document ref
This commit is contained in:
@@ -14,10 +14,10 @@ class EllipseExample extends Component{
|
||||
width="110"
|
||||
>
|
||||
<Ellipse
|
||||
cx="55"
|
||||
cy="55"
|
||||
rx="50"
|
||||
ry="30"
|
||||
cx="50%"
|
||||
cy="50%"
|
||||
rx="45%"
|
||||
ry="30%"
|
||||
stroke="purple"
|
||||
strokeWidth="2"
|
||||
fill="yellow"
|
||||
|
||||
Reference in New Issue
Block a user