expo-pixi icon indicating copy to clipboard operation
expo-pixi copied to clipboard

Add child to sketch stage

Open msamirma opened this issue 5 years ago • 0 comments

I managed to add child image as background so the users can draw on it. But my problem when i try to add intial lines or points on that sketch.

Code to add background image: const stage = sketchReference.stage stage.addChild(backgroundImage); Then i try to add points as intial lines stage.addChild(linesArray)

Is there anyway to intialize child object and put lines in it?

msamirma avatar Jan 14 '20 15:01 msamirma