React-native-svg: Line with transparent fill

Created on 19 Apr 2018  路  1Comment  路  Source: react-native-svg/react-native-svg

I have been trying to get a 'hollow' line to display in the sense that the stroke color only applies to the border and the fill is transparent. I have many of the component options but none seem to work. Is it possible what i am trying to do?

<Line
        x1="30"
        y1="15"
        x2={this.state.position}
        y2="15"
        stroke="blue"
         //fill="white"
         //fillRule="nonzero"
        fillOpacity={1}
        strokeWidth="15"
        strokeLinecap="round"

    />

Most helpful comment

Are you looking for fill="none" perhaps?

>All comments

Are you looking for fill="none" perhaps?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AdeilsonSuperlogica picture AdeilsonSuperlogica  路  3Comments

alexandergunnarson picture alexandergunnarson  路  4Comments

SteveIb picture SteveIb  路  3Comments

antonioreyna picture antonioreyna  路  3Comments

udfalkso picture udfalkso  路  3Comments