HISE Logo Forum
    • Categories
    • Register
    • Login

    Radial Gradient

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 164 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.
    • B
      Blake.Manternach
      last edited by

      Hello,

      Trying to achieve what regular css calls a radial-gradient in hise which seems to only allow a linear gradient. See here:

      431a2b72-2a4d-439d-abfc-48b4a574789b-image.png

      Any thoughts on how I could workaround and still achieve this look dynamically given a single base color? Worst case scenario I can just have images of these panels and sub them in as necessary but trying to save memory and also am trying to dynamically apply this radial-gradient/shine to certain tiles in my plugin based on certain events.

      Matt_SFM 1 Reply Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @Blake.Manternach
        last edited by

        @Blake-Manternach there are optional parameters you can use for radial gradients:
        https://docs.hise.audio/scripting/scripting-api/graphics/index.html#setgradientfill

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        B 1 Reply Last reply Reply Quote 1
        • B
          Blake.Manternach @Matt_SF
          last edited by

          @Matt_SF Thank you so much!

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

          30

          Online

          1.7k

          Users

          11.9k

          Topics

          103.5k

          Posts