Replies: 1 comment 1 reply
-
you can use stroke behind the text fill export default function Test() {
const font = useFont(fonts.ibmMed, 50);
return (
<Canvas
style={{flex: 1, backgroundColor: 'black'}}>
<Text
text={'Laxmikant'}
font={font}
y={50}
x={10}
style={'stroke'}
strokeJoin={'round'}
strokeWidth={10}
color={'green'}
/>
<Text
text={'Laxmikant'}
font={font}
y={50}
x={10}
color={'white'}
/>
</Canvas>
);
} replace |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The Shadow component has to set the blur parameter, is's a soft edge, but what i want is a hard edge, just like the stickers effect, how to do this? Thanks!
something like this:

Beta Was this translation helpful? Give feedback.
All reactions