omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Ui.Path stroke behaviour - modifying the default behaviour

    Pythonista
    stroke ui.path default
    1
    1
    1205
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Phuket2
      Phuket2 last edited by

      I can't remember long ago when I was dealing with macs graphics how stroking a object was handled.
      But I see by default Pythonista splits the difference. Meaning if you set the line_width to 2 it will expand by .5 and inset by .5
      As far as I can see you can't modify this behaviour to only inset the thickness rather than it being divided over the inner and outer line thickness.
      I know I can do it manually, but it complicates compositions of multiple draw functions.
      Hopefully, I am just missing something easy.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB Forums | Contributors