This is the code i am using
<MaskedView
style={{ flex: 1, flexDirection: 'column', alignItems: 'center', justifyContent: 'center' }}
maskElement={
<Svg width="100%" height="100%" viewBox={state.viewBox}>
<Path d={state.path} fill="red" />
</Svg>
}
>
{children}
</MaskedView>
as you can see i am giving a svg element as mask and works perfectly fine however i want to add border arroud clipped shape for eample if i add a hart shape i want a border arround that shape but right if i give any kind of stroke in svg it just clips that stroke as well,
anyone if you guys have any solution it would be really helpful.
This is the code i am using
as you can see i am giving a svg element as mask and works perfectly fine however i want to add border arroud clipped shape for eample if i add a hart shape i want a border arround that shape but right if i give any kind of stroke in svg it just clips that stroke as well,
anyone if you guys have any solution it would be really helpful.