sbe
October 13, 2020, 10:19am
1
Please provide the following:
SDK Version: 39
Platforms(Android/iOS/web/all): Android
Using:
import {GLView} from “expo-gl”;
import Expo2DContext from ‘expo-2d-context’;
On android i get this error :
WARNING: Was given 0 stencil bits - strokes and clipping will be broken
and trying to draw a line, it s not working, like i get a black canvas.
Also, how to reproduce the “drawing style” like over a keyboard ?
thx in advance.
seb
wodin
October 13, 2020, 9:56pm
2
Might be worth checking out expo-three
and expo-processing
sbe
October 16, 2020, 9:41am
3
Hi, yes, it works with expo-processing. thx
Just, do you know how to create a draw line effect as we have on keyboard ? Or any keywords ?
Thx you
wodin
October 16, 2020, 1:38pm
4
Sorry, I’m not sure what you mean. Are you trying to draw lines over an onscreen keyboard?
sbe
October 16, 2020, 3:11pm
5
yes i want to draw lines (kind of line) over letters but not over keyboard.
I did that with svg / path but it’s not very clean/fast
i would like to draw lines like over a mobile native keyboard
wodin
October 16, 2020, 11:49pm
6
Sorry, I’m still unclear on what you want to do.
You say that you want to draw over letters? Do you mean like on top of a <Text>
component?
You say you do not want to draw over a keyboard, but you do want to draw lines “like over a […] keyboard”?
Maybe it you show your “svg / path” implementation it would be clearer.
sbe
October 22, 2020, 1:53pm
7
oh i just get the same render than the finger pass letter over letter on keyboard.
but finally a i will keep my svg implementation
thx a lot
1 Like
system
Closed
November 21, 2020, 1:53pm
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.