Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Chris
    @Bogardo
    Hi Jérémy, awesome component. Would it be possible to use this component to draw on an existing image? I'm looking for a way to draw simple circles/arrows on an image to highlight a certain area on the image.
    Jérémy Grancher
    @jgrancher
    Hey @Bogardo ! Thanks for your kind words.
    That's actually an interesting idea. I'll find some time to work on it soon :)
    Chris
    @Bogardo
    @jgrancher Awesome!
    Chris
    @Bogardo
    If you don't mind let me throw in some other feature requests:
    • Undo last action (instead of clearing the complete drawing)
    • Set pencil/stroke opacity
    Chris
    @Bogardo
    Nevermind about the opacity, I can set the strokeColor as an rgba() value.
    Jérémy Grancher
    @jgrancher
    Thanks for your proposals @Bogardo :) Did the opacity thing work for you?
    You can create issues on github about those features requests if you're keen, I'll have a look :D
    Cole Bradley
    @stantoncbradley
    hi there! this lib looks very promising, I am very grateful for a gitter channel as well! @jgrancher @Bogardo I need the ability to draw on an existing image as well. do you have any updates or suggestions on this? thanks!!!
    Cole Bradley
    @stantoncbradley
    I'm able to draw on the image, but the image isn't scaling properly in the view (I think I need to change contentMode somewhere in native, not sure where tho
    not sure how/if UIImageView is used tho
    Jérémy Grancher
    @jgrancher
    Hey @stantoncbradley! Sorry if I haven't had time to reply on your PR yet. I'll try to have a look on it this weekend. Have you solved the issue about the scale so far?
    Cole Bradley
    @stantoncbradley
    hey @jgrancher I ended up disabling landscape mode in my app to make things simpler, so I didn't mess with the scaling issue. right now my fork get the job done for me, but I don't think its a robust enough solution to PR into the lib, at least right now. If I need to get back into the lib again, I will try to improve this. otherwise thanks for the lib!
    Jérémy Grancher
    @jgrancher
    @stantoncbradley Glad you could use it for your needs! Let me know if anything changes about your fork :)
    Tarun Jangra
    @tarunjangra
    Hi Guys, Hope everyone is doing great. I might be in wrong channel but since this channel is about react and sketch. So i thought i should ask my question here. and somebody might be able to answer my question. I am looking forward to create a feature where end user would be able to draw invoice layout and we can save that layout in database as a personal template. And that can be used later to allow him to create invoices of same layout.
    is there any specific tool available like this?
    I apologise if i’m not in correct channel to ask this.