Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Add child to sketch stage #111

Open
msamirma opened this issue Jan 14, 2020 · 0 comments
Open

Add child to sketch stage #111

msamirma opened this issue Jan 14, 2020 · 0 comments

Comments

@msamirma
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant