import { Line } from 'react-native-painter'
<Painter style={styles.Painter}
>
<Line />
</Painter>
Name | description | type | default |
---|---|---|---|
x1 | the start of the line on the x-axis. | Number | 0 |
y1 | the start of the line on the y-axis. | Number | 0 |
x2 | the end of the line on the x-axis. | Number | 0 |
y2 | the end of the line on the y-axis. | Number | 0 |