StrokeWidth different sizes for each side #1277
Unanswered
MrHazimAli
asked this question in
Q&A
Replies: 1 comment
-
Hey @MrHazimAli, I would suggest you to create a new component and use points or path to achieve this instead of RoundedRect. To use Path and have a rounded corners, please take a look here: You can also start from here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hye, I just jumping into skia to implement neomorphism design using skia, I wondering if we able to custom strokeWidth for each side?
example code like below :-
<RoundedRect x={0} y={0} width={scale(34)} height={scale(25)} r={scale(5)} color={'F5F5F5'} stroke={'#000000'} strokeWidthTop={scale(2)} strokeWidthBottom={scale(1)} strokeWidthLeft={scale(1)} strokeWidthRight={scale(1)} />
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions