MCPcopy Index your code
hub / github.com/oblador/react-native-progress / render

Method render

Shapes/Circle.js:31–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 };
30
31 render() {
32 const { radius, offset, strokeWidth, direction, ...restProps } = this.props;
33 const path = makeCirclePath(
34 (offset.left || 0) + strokeWidth / 2,
35 (offset.top || 0) + strokeWidth / 2,
36 radius - strokeWidth / 2,
37 direction
38 );
39 return (
40 <Path
41 d={path}
42 strokeLinecap="butt"
43 strokeWidth={strokeWidth}
44 {...restProps}
45 />
46 );
47 }
48}

Callers

nothing calls this directly

Calls 1

makeCirclePathFunction · 0.85

Tested by

no test coverage detected