Skip to content
Discussion options

You must be logged in to vote

We would write it as

<Path d="M 10,30
           A 20,20 0,0,1 50,30
           A 20,20 0,0,1 90,30
           Q 90,60 50,90
           Q 10,60 10,30 z" fill="red">
  <Paint  color="blue" stroke-width={4} style="stroke" />
</Path>

As documented at https://shopify.github.io/react-native-skia/docs/paint/overview. Does it makes sense? Maybe we can improve the documentation there.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@wcandillon
Comment options

Answer selected by dominictobias
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants