HISE Logo Forum
    • Categories
    • Register
    • Login

    Draw a path based on obj.text?

    Scheduled Pinned Locked Moved Scripting
    2 Posts 1 Posters 76 Views
    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.
    • T
      tomekslesicki
      last edited by

      I have a couple of buttons and would like to assign different paths to them. I hoped I could just create a LAF for all the buttons and then call:

      g.drawPath(obj.text, ...and the rest of the parameters here)
      

      to draw a path based on the obj.text property, but it doesn't work. If I enter the path name manually instead of using.obj text, it loads properly, even though the path name and obj.text are the same, so theoretically, it should work with obj.text too, right? Am I missing something?

      T 1 Reply Last reply Reply Quote 0
      • T
        tomekslesicki @tomekslesicki
        last edited by

        Got it working, thanks to yet another awesome @d-healey tutorial. Here it is, in case somebody else needs that too: https://www.youtube.com/watch?v=badkm6QVNIA&t=801s

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        16

        Online

        1.7k

        Users

        11.9k

        Topics

        103.6k

        Posts