Closed sreenathnemenon closed 7 years ago
Hi, @sreenathnemenon. Could you please provide a code snippet that reproduces your issue? Something I can run in the jCanvas Sandbox would be ideal.
Hi @caleb531 https://projects.calebevans.me/jcanvas/sandbox/
To recreate the issue just change the y value from 150 for both to 300. Then you can see the distance between the image and text is increasing.
@sreenathnemenon Sorry, you can't share Sandbox links like you used to (they were extremely long and many programs did not accept them). Can you please post the actual code from that demo here (in this issue)? Thanks for your patience.
@caleb531 I ope that issue got fixed. To day i done it as first draw the text then the image then it done correctly.Thanks.
Yes, @sreenathnemenon, this bug was actually reported in https://github.com/caleb531/jcanvas/issues/290 a day after you submitted this issue. I didn't realize they were connected until now, but I was able to work out a fix and release it in jCanvas v20.1.0.
I tried to draw an image using draw image and i need to show a label for the image.So i choose drawtext. I had set x and y as same for both . But text is writing away from the image.Even though the x and y are showing the same as image.